Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
c06ff4db
Unverified
Commit
c06ff4db
authored
6 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Various fixes to make it run.
parent
ea49ea60
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
biscuit/core/settings.py
+1
-0
1 addition, 0 deletions
biscuit/core/settings.py
biscuit/core/urls.py
+5
-4
5 additions, 4 deletions
biscuit/core/urls.py
with
6 additions
and
4 deletions
biscuit/core/settings.py
+
1
−
0
View file @
c06ff4db
...
...
@@ -21,6 +21,7 @@ INSTALLED_APPS = [
'
django.contrib.sessions
'
,
'
django.contrib.messages
'
,
'
django.contrib.staticfiles
'
,
'
bootstrap3
'
,
'
menu
'
,
'
biscuit.core
'
]
...
...
This diff is collapsed.
Click to expand it.
biscuit/core/urls.py
+
5
−
4
View file @
c06ff4db
...
...
@@ -3,15 +3,16 @@ from django.conf import settings
from
django.contrib
import
admin
from
django.urls
import
include
,
path
from
.
import
views
urlpatterns
=
[
path
(
'
admin/
'
,
admin
.
site
.
urls
),
url
(
r
'
^$
'
,
views
.
index
,
name
=
'
index
'
),
path
(
'
'
,
views
.
index
,
name
=
'
index
'
),
]
# Automatically mount URLs from all installed BiscuIT apps
for
app_config
in
apps
.
app_configs
:
if
not
app
.
startswith
(
'
biscuit.apps.
'
):
for
app_config
in
apps
.
app_configs
.
values
()
:
if
not
app
_config
.
name
.
startswith
(
'
biscuit.apps.
'
):
continue
urlpatterns
+=
path
(
'
%s/
'
%
app_config
.
label
,
include
(
'
%s.urls
'
%
app_config
.
name
))
urlpatterns
.
append
(
path
(
'
%s/
'
%
app_config
.
label
,
include
(
'
%s.urls
'
%
app_config
.
name
))
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment