create projects app; move Project model to projects app; recreate migrations because moving the model caused problems o.o
This commit is contained in:
parent
880d2f8db4
commit
a69e436da5
16 changed files with 108 additions and 25 deletions
9
projects/urls.py
Normal file
9
projects/urls.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = 'projects'
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index'),
|
||||
path('<str:project_key>/', views.view, name='view'),
|
||||
]
|
||||
Reference in a new issue