A Django app that adds cities and countries to your project.
Project description
# django-countries
django-countries is a Django app to that provides sessional features to your Django project.
Detailed documentation is in the “docs” directory.
Quick start
Add “polls” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., "countries", ]
Include the polls URLconf in your project urls.py like this:
path("countries/", include("countries.urls")),
Run python manage.py migrate to create the polls models.
Run python manage.py upload_data to upload the data to the database.
Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/polls/ to participate in the poll
7. to import MyResponse ,get_path , etc… use from countries.utils import *
from countries.utils import MyResponse ,get_path , etc...
Project details
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 logatta-countries-0.2.tar.gz
.
File metadata
- Download URL: logatta-countries-0.2.tar.gz
- Upload date:
- Size: 695.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c587c7c8f878f68e4dc7bd259fd24090a75713f8cc8e0e05eed74bff0c3b4e9 |
|
MD5 | 03b671fa35bbb6a1b4e714127d55c28d |
|
BLAKE2b-256 | f869d6587a9347a2a088944569545d1f62f2c05dd4bfc403aef05be2e8fcab91 |