Django Seeding Data
Django Seeding Data is Django app for seeding data in existing DB.
Quick start
-
Add "django_seeding_data" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = ( ... 'seeding', )
-
Add "SEEDING_DIR" to your settings.py file like this::
SEEDING_DIR = "mainapp/seeding/"
-
Run
python manage.py seeding createto create new seeding file in path from previous instruction. -
Write some seeding code in method
seedingfrom classSeeding, for create superuser, or add new groups. -
Run
python manage.py seeding seedto apply new seeding files that was never applied on this DB instance.
Release files for django-seeding-data 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-seeding-data-0.1.1.tar.gz | 4.7 kB | Details |
Release files / django-seeding-data-0.1.1.tar.gz
| Download URL | django-seeding-data-0.1.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e011bb9a15b659670bad7c223c0fe352b8d28640cfdfdec2269347a5547484f
|
|
BLAKE2b-256 checksum How to use checksums |
dcdfb57dfbe41cd7f68af2556428f5e92e9ff2ca1e085576250053db54750698
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.10
|