Socket
Socket
Sign inDemoInstall

django-country-regions

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-country-regions

C


Maintainers
1

Readme

django-country-regions

A simple app providing two models app providing countries and regions extracted from django-cities-light

Requirements:

  • Python >= 3.6
  • Django >= 1.11
  • MySQL or PostgreSQL or SQLite.

Installation and configuration

Install django-country-regions:

pip install django-country-regions

Add django-country-regions to your project's settings.INSTALLED_APPS

#settings.py

INSTALLED_APPS = [
    #...some packages
    'country_regions',
    #...some packages
]

Then run the full import

This command will create the corresponding tables and load the data into the database

example/manage.py migrate

Author(s)

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc