Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion django-site/adminpage/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Create your views here.

def showAdminPage(request):
return render(request, 'adminpage.html')
return render(request, 'adminpage/adminpage.html')
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions django-site/campus_resource/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'adminpage',
'studentpage',
]

MIDDLEWARE = [
Expand Down
1 change: 1 addition & 0 deletions django-site/campus_resource/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
urlpatterns = [
path('', include('adminpage.urls')),
path('admin/', include('adminpage.urls')),
path('student/', include('studentpage.urls')),
]
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions django-site/studentpage/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
5 changes: 5 additions & 0 deletions django-site/studentpage/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class StudentpageConfig(AppConfig):
name = 'studentpage'
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions django-site/studentpage/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
Loading