Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group 25
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
Andre Matthew Dumandan
widget_group 25
Commits
d59fce16
Commit
d59fce16
authored
May 23, 2022
by
Andre Matthew Dumandan
😴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resoled error with extra text written by VSCode
parent
1f5f5e5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
views.py
widget_group_25/homepage/views.py
+0
-8
homepage.html
...group_25/widget_group_25/templates/homepage/homepage.html
+0
-4
No files found.
widget_group_25/homepage/views.py
View file @
d59fce16
...
@@ -13,13 +13,6 @@ class HomepageView(View):
...
@@ -13,13 +13,6 @@ class HomepageView(View):
def
details
(
request
,
user_id
):
def
details
(
request
,
user_id
):
user
=
WidgetUser
.
objects
.
get
(
id_num
=
user_id
)
user
=
WidgetUser
.
objects
.
get
(
id_num
=
user_id
)
<<<<<<<
HEAD
template
=
loader
.
get_template
(
"homepage/details.html"
)
context
=
{
"user"
:
user
,
}
return
HttpResponse
(
template
.
render
(
context
,
request
))
=======
template
=
loader
.
get_template
(
"homepage/widgetuser_details.html"
)
template
=
loader
.
get_template
(
"homepage/widgetuser_details.html"
)
context
=
{
"user"
:
user
,}
context
=
{
"user"
:
user
,}
return
HttpResponse
(
template
.
render
(
context
,
request
))
return
HttpResponse
(
template
.
render
(
context
,
request
))
...
@@ -41,4 +34,3 @@ class WidgetUserCreateView(CreateView):
...
@@ -41,4 +34,3 @@ class WidgetUserCreateView(CreateView):
context
[
"departments"
]
=
Department
.
objects
.
all
()
context
[
"departments"
]
=
Department
.
objects
.
all
()
return
context
return
context
>>>>>>>
dumandan
/
homepage
widget_group_25/widget_group_25/templates/homepage/homepage.html
View file @
d59fce16
...
@@ -12,11 +12,7 @@
...
@@ -12,11 +12,7 @@
<!-- Creates an ordered list of all users-->
<!-- Creates an ordered list of all users-->
<ol
type =
'1'
>
<ol
type =
'1'
>
{% for user in user_list %}
{% for user in user_list %}
<
<<<<<<
HEAD
<
a
href =
"{% url 'homepage:details' user.id_num %}"
>
=======
<a
href =
"{% url 'homepage:widgetuser_details' user.id_num %}"
>
<a
href =
"{% url 'homepage:widgetuser_details' user.id_num %}"
>
>>>>>>> dumandan/homepage
<li>
{{user.last_name}}, {{user.first_name}} {{user.middle_name}}
</br>
</a>
</li>
</p>
<li>
{{user.last_name}}, {{user.first_name}} {{user.middle_name}}
</br>
</a>
</li>
</p>
{% endfor %}
{% endfor %}
</ol>
</ol>
...
...
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