Metadata-Version: 2.1
Name: django-seeding-data
Version: 0.1
Summary: Data seeding package
Home-page: https://oscar-studio.ru/
Author: Oleg Maslov
Author-email: oleg.gnome@gmail.com
License: BSD License
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
License-File: LICENSE

=====
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 = (
          ...
          'django_seeding_data',
      )

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.



