Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base template #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion engbook/engbook/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
'project',
'django_extensions',
'crispy_forms',
'user.apps.UserConfig'
'user.apps.UserConfig',
'sbadmin'
]

GRAPH_MODELS = {
Expand Down
2 changes: 2 additions & 0 deletions engbook/engbook/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
path('admin/', admin.site.urls),
path('', include('frontend.urls')),
path('', include('user.urls')),
path('sb/', include ('sbadmin.urls')),



path('login/', auth_views.LoginView.as_view(template_name='user/login.html'), name='login'),
Expand Down
Empty file added engbook/sbadmin/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions engbook/sbadmin/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 engbook/sbadmin/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class SbadminConfig(AppConfig):
name = 'sbadmin'
Empty file.
3 changes: 3 additions & 0 deletions engbook/sbadmin/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.
13 changes: 13 additions & 0 deletions engbook/sbadmin/static/sbadmin/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://github.com/browserslist/browserslist#readme

>= 1%
last 1 major version
not dead
Chrome >= 60
Firefox >= 60
Edge >= 15.15063
Explorer 11
iOS >= 10
Safari >= 10
Android >= 6
not ExplorerMobile <= 11
Loading