Skip to main content

Django Seeding Data

Django Seeding Data is Django app for seeding data in existing DB.

Quick start

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

    INSTALLED_APPS = ( ... 'seeding', )

  2. Add "SEEDING_DIR" to your settings.py file like this::

    SEEDING_DIR = "mainapp/seeding/"

  3. Run python manage.py seeding create to create new seeding file in path from previous instruction.

  4. Write some seeding code in method seeding from class Seeding, for create superuser, or add new groups.

  5. Run python manage.py seeding seed to 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)

Source distribution for django-seeding-data 0.1.1
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1

1 release 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