Skip to content

Commit ba5c812

Browse files
committed
Finished Code
1 parent 6cd49ee commit ba5c812

28 files changed

Lines changed: 651 additions & 32 deletions
-311 Bytes
Binary file not shown.
-596 Bytes
Binary file not shown.

codebot/settings.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
"""
2-
Django settings for codebot project.
3-
4-
Generated by 'django-admin startproject' using Django 4.1.5.
5-
6-
For more information on this file, see
7-
https://docs.djangoproject.com/en/4.1/topics/settings/
8-
9-
For the full list of settings and their values, see
10-
https://docs.djangoproject.com/en/4.1/ref/settings/
11-
"""
12-
131
from pathlib import Path
142

153
# Build paths inside the project like this: BASE_DIR / 'subdir'.
@@ -37,6 +25,7 @@
3725
'django.contrib.sessions',
3826
'django.contrib.messages',
3927
'django.contrib.staticfiles',
28+
'website',
4029
]
4130

4231
MIDDLEWARE = [

codebot/urls.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
1-
"""codebot URL Configuration
2-
3-
The `urlpatterns` list routes URLs to views. For more information please see:
4-
https://docs.djangoproject.com/en/4.1/topics/http/urls/
5-
Examples:
6-
Function views
7-
1. Add an import: from my_app import views
8-
2. Add a URL to urlpatterns: path('', views.home, name='home')
9-
Class-based views
10-
1. Add an import: from other_app.views import Home
11-
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
12-
Including another URLconf
13-
1. Import the include() function: from django.urls import include, path
14-
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
15-
"""
161
from django.contrib import admin
17-
from django.urls import path
2+
from django.urls import path, include
183

194
urlpatterns = [
205
path('admin/', admin.site.urls),
6+
path('', include('website.urls')),
217
]

db.sqlite3

8 KB
Binary file not shown.
129 Bytes
Binary file not shown.
240 Bytes
Binary file not shown.
408 Bytes
Binary file not shown.
1.95 KB
Binary file not shown.
714 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)