The bevillingsplatform package - settings and configuration¶
Submodules¶
bevillingsplatform.initialize module¶
Functions for populating the database with initial data.
-
bevillingsplatform.initialize.initialize()¶ Initialize all the basic data we want at start.
Should be able to be run multiple times over without generating duplicates.
-
bevillingsplatform.initialize.initialize_account_alias_mappings()¶ Initialize the account alias mappings.
-
bevillingsplatform.initialize.initialize_activity_categories()¶ Initialize all the relevant activity categories.
Data should be the output of “manage.py dumpdata core.activitycategory
-
bevillingsplatform.initialize.initialize_activity_details()¶ Initialize all the relevant activity details.
Data should be the output of “manage.py dumpdata core.activitydetails”.
-
bevillingsplatform.initialize.initialize_approval_levels()¶ Initialize all the initial approval levels.
Data should be the output of “manage.py dumpdata core.approvallevels”.
-
bevillingsplatform.initialize.initialize_municipalities()¶ Initialize all the danish municipalities.
-
bevillingsplatform.initialize.initialize_payment_method_details()¶ Initialize all the relevant payment method details.
-
bevillingsplatform.initialize.initialize_rates()¶ Initialize the variable rates, rates and rates per date for Ballerup.
-
bevillingsplatform.initialize.initialize_school_districts()¶ Initialize all the school districts for Ballerup.
-
bevillingsplatform.initialize.initialize_section_infos()¶ Initialize all the relevant section infos.
Data should be the output of “manage.py dumpdata core.sectioninfos”.
-
bevillingsplatform.initialize.initialize_sections()¶ Initialize all the relevant law sections.
Data should be the output of “manage.py dumpdata core.section”.
-
bevillingsplatform.initialize.initialize_service_providers()¶ Initialize all the relevant service providers.
Data should be the output of “manage.py dumpdata core.serviceprovider”.
-
bevillingsplatform.initialize.initialize_target_groups()¶ Initialize the initial target groups.
Data should be output of “manage.py dumpdata core.targetgroups”.
-
bevillingsplatform.initialize.initialize_teams()¶ Initialize all the school districts for Ballerup.
-
bevillingsplatform.initialize.initialize_users()¶ Prime the system with some users to get started.
Data should be the output of “manage.py dumpdata core.User”.
bevillingsplatform.settings module¶
Django settings for bevillingsplatform project.
Generated by “django-admin startproject” using Django 2.2.1.
For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/
bevillingsplatform.urls module¶
bevillingsplatform URL Configuration.
- The urlpatterns list routes URLs to views. For more information please see:
Examples¶
- Function views
Add an import: from my_app import views
Add a URL to urlpatterns: path(‘’, views.home, name=’home’)
- Class-based views
Add an import: from other_app.views import Home
Add a URL to urlpatterns: path(‘’, Home.as_view(), name=’home’)
- Including another URLconf
Import the include() function: from django.urls import include, path
Add a URL to urlpatterns: path(‘blog/’, include(‘blog.urls’))
bevillingsplatform.wsgi module¶
WSGI config for bevillingsplatform project.
It exposes the WSGI callable as a module-level variable named application.
For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
Module contents¶
‘bevillingsplatform’ package created by Django.