Skip to main content
=====
Province
=====

Province is a simple Django app to show province, town, city and shahrak in Iran with API. For each
question, visitors can choose between a fixed number of answers.

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Add "province" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'province',
]

2. Include the province URLconf in your project urls.py like this::

path('api/v1/province/', include('province.api.urls')),

3. Run `python manage.py migrate` to create the province models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a province (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/api/v1/province/ to participate in the poll.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-province-0.3.tar.gz (43.0 kB view details)

Uploaded Source

File details

Details for the file django-province-0.3.tar.gz.

File metadata

  • Download URL: django-province-0.3.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-province-0.3.tar.gz
Algorithm Hash digest
SHA256 b6e0561e69ecfdceed9d50ec3a9caf6f5f9ef10222962b3e1639676a0aed1737
MD5 7c97d414c8f52a0d3c7ea7ba2a82648b
BLAKE2b-256 f1272ba77689d027bfe009bf0b9872d4a21cd2d40556c45fcd3e61eb5129350e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3 This release

1 file

0.2

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page