== Installation ==
To install into an existing Django project:
Add “apihangar” to your INSTALLED_APPS
include() “apihangar.urls” somewhere in your URLconf
Define APIHANGAR_DATABASES in your settings.py
APIHANGAR_DATABASES specifies which database connections may be used by the apihangar to issue queries against. The setting should be a list of 2-tuples (alias, label) where the aliases refer to database connection aliases defined in your project’s DATABASES setting.
IT IS NOT RECOMMENDED THAT YOU ADD “default” TO YOUR APIHANGAR_DATABASES. The recommended way to use apihangar is to set up one or more read-only database connections; add these as secondary databases in your DATABASES dict; and then use these read-only connections for your APIHANGAR_DATABASES.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-apihangar-0.1.1.tar.gz.
File metadata
- Download URL: django-apihangar-0.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9504787ce77612c3bdcc3240a35dd0d1187b1c43b966556a4175ace9a2e6b17
|
|
| MD5 |
9371989c71132a571ccddab5c78d7541
|
|
| BLAKE2b-256 |
cbb9d4587af07a1001d49cd61f3330ba2649e47a8e817c4a784df9a92f34c26e
|