![]() |
10 years ago | |
---|---|---|
.. | ||
fixtures | 10 years ago | |
migrations | 10 years ago | |
templates | 10 years ago | |
templatetags | 10 years ago | |
README.md | 10 years ago | |
__init__.py | 10 years ago | |
admin.py | 10 years ago | |
context_processors.py | 10 years ago | |
models.py | 10 years ago | |
tests.py | 10 years ago | |
views.py | 10 years ago |
The goal of this application is to generate a JSON file describing an ISP, as defined by http://db.ffdn.org/format
Most information about the ISP can be entered through the admin. The number of members and subscribers is computed automatically: you may want to change the way they are computed depending on the way you manage members and subscribers. Additionally, it is possible to change the model so that you manage the number of members and subscribers by hand in the admin, though this is not recommended.
The JSON file is then accessible at /isp.json
First, add coin.isp_database
to your INSTALLED_APPS
in settings.py.
Then, add the following in your main urls.py
:
from coin.isp_database.views import isp_json
and add
url(r'^isp.json$', isp_json),
in your urlpatterns
variable.
Grep for "TODO" in the code.