Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
almiraredoble_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
Almira Redoble
almiraredoble_reading
Commits
fb51ea7d
Commit
fb51ea7d
authored
Mar 27, 2023
by
Almira Redoble
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created bookshelf app and configured URLs with placeholder view.
parent
702702a4
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
32 additions
and
1 deletion
+32
-1
__init__.cpython-311.pyc
...lmiraredoble_reading/__pycache__/__init__.cpython-311.pyc
+0
-0
settings.cpython-311.pyc
...lmiraredoble_reading/__pycache__/settings.cpython-311.pyc
+0
-0
settings.py
almiraredoble_reading/almiraredoble_reading/settings.py
+1
-0
urls.py
almiraredoble_reading/almiraredoble_reading/urls.py
+2
-1
__init__.py
almiraredoble_reading/bookshelf/__init__.py
+0
-0
admin.py
almiraredoble_reading/bookshelf/admin.py
+3
-0
apps.py
almiraredoble_reading/bookshelf/apps.py
+6
-0
__init__.py
almiraredoble_reading/bookshelf/migrations/__init__.py
+0
-0
models.py
almiraredoble_reading/bookshelf/models.py
+3
-0
tests.py
almiraredoble_reading/bookshelf/tests.py
+3
-0
urls.py
almiraredoble_reading/bookshelf/urls.py
+8
-0
views.py
almiraredoble_reading/bookshelf/views.py
+6
-0
No files found.
almiraredoble_reading/almiraredoble_reading/__pycache__/__init__.cpython-311.pyc
0 → 100644
View file @
fb51ea7d
File added
almiraredoble_reading/almiraredoble_reading/__pycache__/settings.cpython-311.pyc
0 → 100644
View file @
fb51ea7d
File added
almiraredoble_reading/almiraredoble_reading/settings.py
View file @
fb51ea7d
...
...
@@ -40,6 +40,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'bookshelf'
,
]
MIDDLEWARE
=
[
...
...
almiraredoble_reading/almiraredoble_reading/urls.py
View file @
fb51ea7d
...
...
@@ -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
include
,
path
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'bookshelf/'
,
include
(
'bookshelf.urls'
,
namespace
=
"bookshelf"
)),
]
almiraredoble_reading/bookshelf/__init__.py
0 → 100644
View file @
fb51ea7d
almiraredoble_reading/bookshelf/admin.py
0 → 100644
View file @
fb51ea7d
from
django.contrib
import
admin
# Register your models here.
almiraredoble_reading/bookshelf/apps.py
0 → 100644
View file @
fb51ea7d
from
django.apps
import
AppConfig
class
BookshelfConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'bookshelf'
almiraredoble_reading/bookshelf/migrations/__init__.py
0 → 100644
View file @
fb51ea7d
almiraredoble_reading/bookshelf/models.py
0 → 100644
View file @
fb51ea7d
from
django.db
import
models
# Create your models here.
almiraredoble_reading/bookshelf/tests.py
0 → 100644
View file @
fb51ea7d
from
django.test
import
TestCase
# Create your tests here.
almiraredoble_reading/bookshelf/urls.py
0 → 100644
View file @
fb51ea7d
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
"bookshelf"
\ No newline at end of file
almiraredoble_reading/bookshelf/views.py
0 → 100644
View file @
fb51ea7d
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
def
index
(
request
):
return
HttpResponse
(
'test'
)
# Create your views here.
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