Open DavidBeavan opened 3 years ago
django
in data-classification-app
django
apphaven
django
webapphaven/
__init__.py # tells django this is a python project
urls.py # has access to settings of urls used
wsgi.py # used to deploy the webserver
settings/* # configuration for app
projects
django
appprojects/
admin.py # allows user to add feature to the admin page
__init__.py # tells file its a python package
apps.py # used to configure apps
models.py # database layout
views.py # used to display database layout
This structure is reflected in the haven/identity/*
app and the haven/data/*
app.
django
's way of propagating changes you make to your models
urls.py
in the webapphaven/
directory contains links to the urls within eachdjango
app, e.g haven/urls.py
.
urlpatterns = [
path('users/', include('haven.identity.urls', namespace='identity')),
path('projects/', include('haven.projects.urls', namespace='projects')),
]
views.py
url
provides a mapping* to a view
(for example in haven/projects/urls.py
)
Project list
class available in the list
urlpattern
.
forms.py
Move content above to wiki, then close. More issues can be opened on the specifics
@ChristinaLast to kindly park the content in a wiki, then do close
django
meeting on Tuesday 4:00pm-4:45pm.