Skip to content

Commit ff8a0c7

Browse files
Created a model for students
1 parent f469898 commit ff8a0c7

File tree

18 files changed

+49
-2
lines changed

18 files changed

+49
-2
lines changed

backend/family_tree/db.sqlite3

128 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

backend/family_tree/family_tree/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# Application definition
3232

3333
INSTALLED_APPS = [
34-
"django.contrib.staticfiles",
34+
3535
"graphene_django",
3636
'django.contrib.admin',
3737
'django.contrib.auth',

backend/family_tree/family_tree/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
1515
"""
1616
from django.contrib import admin
17-
from django.urls import path
17+
from django.urls import include, path
1818
from graphene_django.views import GraphQLView
1919

2020
urlpatterns = [
2121
path('admin/', admin.site.urls),
2222
path("graphql", GraphQLView.as_view(graphiql=True)),
23+
path('students/', include('student_model.urls')),
2324
]

backend/family_tree/student_model/__init__.py

Whitespace-only changes.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)