Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_nicsbabes
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
Nics De Vega
midterm_nicsbabes
Commits
e3f09419
Commit
e3f09419
authored
May 10, 2023
by
Sharmaine Chua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
did some minor changes in manage.py
parent
c1c72aee
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
1 deletion
+1
-1
models.cpython-39.pyc
widget_nicsbabes/dashboard/__pycache__/models.cpython-39.pyc
+0
-0
urls.cpython-39.pyc
widget_nicsbabes/dashboard/__pycache__/urls.cpython-39.pyc
+0
-0
views.cpython-39.pyc
widget_nicsbabes/dashboard/__pycache__/views.cpython-39.pyc
+0
-0
models.py
widget_nicsbabes/dashboard/models.py
+1
-1
settings.cpython-39.pyc
...abes/widget_nicsbabes/__pycache__/settings.cpython-39.pyc
+0
-0
No files found.
widget_nicsbabes/dashboard/__pycache__/models.cpython-39.pyc
View file @
e3f09419
No preview for this file type
widget_nicsbabes/dashboard/__pycache__/urls.cpython-39.pyc
View file @
e3f09419
No preview for this file type
widget_nicsbabes/dashboard/__pycache__/views.cpython-39.pyc
View file @
e3f09419
No preview for this file type
widget_nicsbabes/dashboard/models.py
View file @
e3f09419
...
@@ -15,7 +15,7 @@ class WidgetUser(models.Model):
...
@@ -15,7 +15,7 @@ class WidgetUser(models.Model):
department
=
models
.
ForeignKey
(
Department
,
on_delete
=
models
.
CASCADE
)
department
=
models
.
ForeignKey
(
Department
,
on_delete
=
models
.
CASCADE
)
def
__str__
(
self
):
def
__str__
(
self
):
return
'{}
{}'
.
format
(
self
.
first_name
,
self
.
la
st_name
)
return
'{}
, {}'
.
format
(
self
.
last_name
,
self
.
fir
st_name
)
def
get_absolute_url
(
self
):
def
get_absolute_url
(
self
):
return
reverse
(
'dashboard:user_details'
,
kwargs
=
{
'pk'
:
self
.
pk
})
return
reverse
(
'dashboard:user_details'
,
kwargs
=
{
'pk'
:
self
.
pk
})
widget_nicsbabes/widget_nicsbabes/__pycache__/settings.cpython-39.pyc
View file @
e3f09419
No preview for this file type
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