A compilation of the applications we often use in addition to Django Rest Framework
Project description
PixelForest DRF
This repository host the code of the PixelForest DRF package. This package will host most of the reusable applications/code we use on a project basis as the PixelForest Dev Team.
Note This package is under public licensing because we figured it might be useful for other as it is.
Current applications
- countries: A package to handle some location data, based on 3 levels: Country, SubRegion and Region
Getting started
Requirements
The following requirements will need to be installed and configured
Settings
Countries
None
Installation
You can install the package using pip
pip install pixelforest_drf
Add the wanted application(s) to your INSTALLED_APPS
:
INSTALLED_APPS = (
...,
"pixelforest_drf.countries",
...,
)
Add the wanted URL patterns:
from pixelforest_drf.countries import urls as countries_urls
urlpatterns = [
...,
path('', include(countries_urls)),
...,
]
Run the included migrations:
python3 manage.py migrate
Contributing
Guidelines
Please contact the PixelForest Dev Team for any bug report or feature request.
Credit
- Countries
- countries_objects.csv: Merge of the Wikipedia ISO 3166-1 article, and data from the UN Statistics site for regions and sub-regions. Work inpired by lukes ISO-3166 Github but redone to allow for MIT Licensing.
- flags.zip: Country Flags - (Public Domain)
Contributors
Jean-Xavier Raynaud - email - Product Owner / System Architect / Developer
Milo Parigi - email - Scrum Master / Developer
Victor Duvernois - email - Developer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pixelforest_drf-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8cfedcde8ae994f0379442b61263e307fb6e94376fd3fa9ec48668da7de0898 |
|
MD5 | eb24c1e883b545acaa1fa35a32e13113 |
|
BLAKE2b-256 | db12cdbfdc91f9841dadf8dee2ca9fb6bcdfd0a0bc22c57179db07f8275f8131 |