PUT, DELETE and address Changes
- Added PUT, PATCH and DELETE to modify data in the database. - refactored modules - completed docstrings - data is now served via api/ and web pages via /
This commit is contained in:
@@ -30,6 +30,7 @@ ALLOWED_HOSTS = []
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'api.apps.ApiConfig',
|
||||
'pt_map.apps.PtMapConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
|
||||
@@ -6,5 +6,6 @@ from django.urls import path, include
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('', include("pt_map.urls"))
|
||||
path('api/', include("api.urls")),
|
||||
path('', include("pt_map.urls")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user