Skip to content

iexbase/trondapps-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trondapps-backend

Install

  • pip install djangorestframework, markdown, django-filter, django-cors-headers, unidecode, djongo
  • configure file /dapps/settings.py

  • python manage.py collectstatic
  • python manage.py makemigrations
  • python manage.py migrate
  • python manage.py createsuperuser
  • python manage.py runserver 8000
# change params

CORS_ORIGIN_WHITELIST = ()
CORS_ORIGIN_REGEX_WHITELIST = ()
ALLOWED_HOSTS = []

# recommended not to change
CORS_ALLOW_METHODS = () 

```python 
# default database mongodb
DATABASES = {
    'default': {
        'ENGINE': 'djongo',
        'NAME': 'tronapps',
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages