Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_father when can i be on my own i have the hello world to see
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
father when can i be on my own i have the hello world to see
widget_father when can i be on my own i have the hello world to see
Commits
f2109090
Commit
f2109090
authored
Mar 08, 2022
by
nekopilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added forum url
parent
6f0ab3ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
urls.py
forum/urls.py
+9
-0
settings.py
..._i_be_on_my_own_i_have_the_hello_world_to_see/settings.py
+1
-0
urls.py
..._can_i_be_on_my_own_i_have_the_hello_world_to_see/urls.py
+2
-1
No files found.
forum/urls.py
0 → 100644
View file @
f2109090
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
"forum"
\ No newline at end of file
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/settings.py
View file @
f2109090
...
...
@@ -42,6 +42,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'forum'
]
MIDDLEWARE
=
[
...
...
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/urls.py
View file @
f2109090
...
...
@@ -14,11 +14,12 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
path
,
include
from
.views
import
homepage
urlpatterns
=
[
path
(
'homepage/'
,
homepage
,
name
=
'homepage'
),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'forum/'
,
include
(
"forum.urls"
,
namespace
=
'forum'
)),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment