Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_aguandhischipmunks
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
Adrian Lance Damalerio
midterm_aguandhischipmunks
Commits
34daae9e
Commit
34daae9e
authored
Mar 05, 2023
by
Deokhyun Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created url settings for assignments
parent
9c40c713
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
2 deletions
+14
-2
urls.cpython-310.pyc
...hischipmunks/assignments/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
...ischipmunks/assignments/__pycache__/views.cpython-310.pyc
+0
-0
urls.py
widget_aguandhischipmunks/assignments/urls.py
+8
-0
views.py
widget_aguandhischipmunks/assignments/views.py
+4
-1
db.sqlite3
widget_aguandhischipmunks/db.sqlite3
+0
-0
settings.cpython-310.pyc
...t_aguandhischipmunks/__pycache__/settings.cpython-310.pyc
+0
-0
urls.cpython-310.pyc
...idget_aguandhischipmunks/__pycache__/urls.cpython-310.pyc
+0
-0
urls.py
widget_aguandhischipmunks/widget_aguandhischipmunks/urls.py
+2
-1
No files found.
widget_aguandhischipmunks/assignments/__pycache__/urls.cpython-310.pyc
0 → 100644
View file @
34daae9e
File added
widget_aguandhischipmunks/assignments/__pycache__/views.cpython-310.pyc
0 → 100644
View file @
34daae9e
File added
widget_aguandhischipmunks/assignments/urls.py
0 → 100644
View file @
34daae9e
from
django.urls
import
path
from
.
import
views
# url for homepage
urlpatterns
=
[
path
(
''
,
views
.
index
,
name
=
'index'
),
]
\ No newline at end of file
widget_aguandhischipmunks/assignments/views.py
View file @
34daae9e
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
def
index
(
request
):
return
HttpResponse
(
"Welcome assignments"
)
\ No newline at end of file
widget_aguandhischipmunks/db.sqlite3
View file @
34daae9e
No preview for this file type
widget_aguandhischipmunks/widget_aguandhischipmunks/__pycache__/settings.cpython-310.pyc
View file @
34daae9e
No preview for this file type
widget_aguandhischipmunks/widget_aguandhischipmunks/__pycache__/urls.cpython-310.pyc
View file @
34daae9e
No preview for this file type
widget_aguandhischipmunks/widget_aguandhischipmunks/urls.py
View file @
34daae9e
...
...
@@ -14,8 +14,9 @@ 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
urlpatterns
=
[
path
(
"admin/"
,
admin
.
site
.
urls
),
path
(
"assignments/"
,
include
(
"assignments.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