Add "unimap-base" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'rest_framework', 'unimap_base', ]
Include the polls URLconf in your project urls.py like this:
path('unimap/', include('unimap_base.urls')),
- Run python manage.py migrate to create the unimap models.
- Start the development server and visit http://127.0.0.1:8000/admin/ to create a unimap (you'll need the Admin app enabled).
- Visit http://127.0.0.1:8000/unimap/ to participate in the unimap.
- Download or clone this repo
Make virtual environment:
python -m venv .venv source .venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Test:
pytest
- Develop
If you want to know how to write code, but you're not familier with python, django, restframework or pytest, see
- Create models needed to make API by django admin site
- access to API <your site url>/<url for unimap_base>/<url for models>/ (e.x. localhost:8000/unimap/universities/)