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
64a1e765
Commit
64a1e765
authored
May 23, 2022
by
Charles Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed URLs of Homepage based on final specs.
parent
69ece558
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
index.html
homepage/templates/homepage/index.html
+1
-1
urls.py
homepage/urls.py
+0
-2
urls.py
..._can_i_be_on_my_own_i_have_the_hello_world_to_see/urls.py
+3
-0
No files found.
homepage/templates/homepage/index.html
View file @
64a1e765
...
...
@@ -16,5 +16,5 @@ Welcome to Widget!
{% for user in all_widgetusers %}
<a
class=
"details"
href=
"{{user.id}}/details"
>
{{forloop.counter}}. {{user.last_name}}, {{user.first_name}} {{user.middle_name}}
</a>
</br>
{% endfor %}
<a
class=
"new-user-link"
href=
"users/add"
>
Add Widget User
</a>
<a
class=
"new-user-link"
href=
"
/
users/add"
>
Add Widget User
</a>
{% endblock %}
\ No newline at end of file
homepage/urls.py
View file @
64a1e765
...
...
@@ -5,7 +5,5 @@ urlpatterns = [
path
(
''
,
HomepageView
.
as_view
(),
name
=
'index'
),
path
(
'<int:pk>/details'
,
WidgetUserDetailView
.
as_view
(),
name
=
'widgetuser_detail'
),
path
(
'users/add'
,
WidgetUserCreateView
.
as_view
(),
name
=
'widgetuser_form'
),
]
app_name
=
"homepage"
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/urls.py
View file @
64a1e765
...
...
@@ -17,9 +17,12 @@ from django.contrib import admin
from
django.urls
import
path
,
include
from
django.conf.urls.static
import
static
from
django.conf
import
settings
from
homepage.views
import
WidgetUserCreateView
urlpatterns
=
[
path
(
'homepage/'
,
include
(
"homepage.urls"
,
namespace
=
'homepage'
)),
path
(
'users/add'
,
WidgetUserCreateView
.
as_view
(),
name
=
'widgetuser_form'
),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'forum/'
,
include
(
"forum.urls"
,
namespace
=
'forum'
)),
path
(
'announcements/'
,
include
(
"announcement_board.urls"
,
...
...
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