Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_robo_mommy
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Raul Jarod Conanan
midterm_robo_mommy
Commits
63f92f4c
Commit
63f92f4c
authored
Mar 04, 2023
by
Cheska Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete stable working version
parent
089f3895
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
4 deletions
+5
-4
models.cpython-311.pyc
...t_robo_mommy/Dashboard/__pycache__/models.cpython-311.pyc
+0
-0
urls.cpython-311.pyc
widget_robo_mommy/Dashboard/__pycache__/urls.cpython-311.pyc
+0
-0
views.cpython-311.pyc
...et_robo_mommy/Dashboard/__pycache__/views.cpython-311.pyc
+0
-0
urls.py
widget_robo_mommy/Dashboard/urls.py
+1
-1
views.py
widget_robo_mommy/Dashboard/views.py
+1
-1
settings.cpython-311.pyc
...my/widget_robo_mommy/__pycache__/settings.cpython-311.pyc
+0
-0
settings.py
widget_robo_mommy/widget_robo_mommy/settings.py
+3
-2
No files found.
widget_robo_mommy/Dashboard/__pycache__/models.cpython-311.pyc
View file @
63f92f4c
No preview for this file type
widget_robo_mommy/Dashboard/__pycache__/urls.cpython-311.pyc
View file @
63f92f4c
No preview for this file type
widget_robo_mommy/Dashboard/__pycache__/views.cpython-311.pyc
View file @
63f92f4c
No preview for this file type
widget_robo_mommy/Dashboard/urls.py
View file @
63f92f4c
...
@@ -3,7 +3,7 @@ from .views import DashboardView
...
@@ -3,7 +3,7 @@ from .views import DashboardView
urlpatterns
=
[
urlpatterns
=
[
path
(
'
Dashboard/
'
,
DashboardView
.
as_view
()),
path
(
''
,
DashboardView
.
as_view
()),
]
]
app_name
=
"Dashboard"
app_name
=
"Dashboard"
\ No newline at end of file
widget_robo_mommy/Dashboard/views.py
View file @
63f92f4c
...
@@ -2,6 +2,6 @@ from .models import Department
...
@@ -2,6 +2,6 @@ from .models import Department
from
django.views
import
generic
from
django.views
import
generic
class
D
epartment
View
(
generic
.
ListView
):
class
D
ashboard
View
(
generic
.
ListView
):
model
=
Department
model
=
Department
template_name
=
'Dashboard/Dashboard.html'
template_name
=
'Dashboard/Dashboard.html'
widget_robo_mommy/widget_robo_mommy/__pycache__/settings.cpython-311.pyc
View file @
63f92f4c
No preview for this file type
widget_robo_mommy/widget_robo_mommy/settings.py
View file @
63f92f4c
...
@@ -12,7 +12,8 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
...
@@ -12,7 +12,8 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
from
pathlib
import
Path
from
pathlib
import
Path
from
dotenv
import
load_dotenv
from
dotenv
import
load_dotenv
import
os
DIRNAME
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
load_dotenv
()
load_dotenv
()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
# Build paths inside the project like this: BASE_DIR / 'subdir'.
...
@@ -39,7 +40,7 @@ INSTALLED_APPS = [
...
@@ -39,7 +40,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'django.contrib.staticfiles'
,
'Dashboard
'
,
'Dashboard
.apps.DashboardConfig'
]
]
MIDDLEWARE
=
[
MIDDLEWARE
=
[
...
...
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