Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yamgarsin_reading
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
Mariam Garsin
yamgarsin_reading
Commits
2207da7d
Commit
2207da7d
authored
May 08, 2023
by
Mariam Garsin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creation of Author and Book details
parent
60a9e116
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
18 deletions
+4
-18
__init__.cpython-38.pyc
...ing/yamgarsin_reading/__pycache__/__init__.cpython-38.pyc
+0
-0
settings.cpython-38.pyc
...ing/yamgarsin_reading/__pycache__/settings.cpython-38.pyc
+0
-0
urls.cpython-38.pyc
...reading/yamgarsin_reading/__pycache__/urls.cpython-38.pyc
+0
-0
wsgi.cpython-38.pyc
...reading/yamgarsin_reading/__pycache__/wsgi.cpython-38.pyc
+0
-0
settings.py
yamgarsin_reading/yamgarsin_reading/settings.py
+2
-1
urls.py
yamgarsin_reading/yamgarsin_reading/urls.py
+2
-17
No files found.
yamgarsin_reading/yamgarsin_reading/__pycache__/__init__.cpython-38.pyc
0 → 100644
View file @
2207da7d
File added
yamgarsin_reading/yamgarsin_reading/__pycache__/settings.cpython-38.pyc
0 → 100644
View file @
2207da7d
File added
yamgarsin_reading/yamgarsin_reading/__pycache__/urls.cpython-38.pyc
0 → 100644
View file @
2207da7d
File added
yamgarsin_reading/yamgarsin_reading/__pycache__/wsgi.cpython-38.pyc
0 → 100644
View file @
2207da7d
File added
yamgarsin_reading/yamgarsin_reading/settings.py
View file @
2207da7d
...
@@ -42,6 +42,7 @@ INSTALLED_APPS = [
...
@@ -42,6 +42,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'django.contrib.staticfiles'
,
'bookshelf'
,
]
]
MIDDLEWARE
=
[
MIDDLEWARE
=
[
...
@@ -59,7 +60,7 @@ ROOT_URLCONF = 'yamgarsin_reading.urls'
...
@@ -59,7 +60,7 @@ ROOT_URLCONF = 'yamgarsin_reading.urls'
TEMPLATES
=
[
TEMPLATES
=
[
{
{
'BACKEND'
:
'django.template.backends.django.DjangoTemplates'
,
'BACKEND'
:
'django.template.backends.django.DjangoTemplates'
,
'DIRS'
:
[],
'DIRS'
:
[
os
.
path
.
join
(
BASE_DIR
,
'templates'
)
],
'APP_DIRS'
:
True
,
'APP_DIRS'
:
True
,
'OPTIONS'
:
{
'OPTIONS'
:
{
'context_processors'
:
[
'context_processors'
:
[
...
...
yamgarsin_reading/yamgarsin_reading/urls.py
View file @
2207da7d
"""
URL configuration for yamgarsin_reading project.
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
include
,
path
urlpatterns
=
[
urlpatterns
=
[
path
(
'bookshelf/'
,
include
(
'bookshelf.urls'
,
namespace
=
"bookshelf"
)),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'admin/'
,
admin
.
site
.
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