Skip to main content

Create dynamic models from Django administration

Project description

Create dynamic models from Django administration (with migration support).

Quick start

  1. Install django-dynamic-admin package in your Django project:

    pip install django-dynamic-admin
    
  2. Add “django-dynamic-admin” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'polymorphic'
        'dynamicadmin',
    ]
    
  3. Run python manage.py migrate to create the base models.

  4. See https://github.com/seht/dynamicadmin-example-project for example usage.

  5. Visit http://127.0.0.1:8000/admin/ to create dynamic models from Django administration.

Adding new Field types

Create new field types by extending dynamicadmin.models.Field

Adding new Content types

Create new content types by extending dynamicadmin.models.Bundle

TODO

  • Field weights

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-dynamic-admin-0.3.0.tar.gz (7.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page