Skip to main content

What if you can generate Django Apps without learning how to code from a Django app?

Project description

Django Dynamic:

What if you can generate Django Apps without learning how to code from a Django app?

This seems possible…

Most code was taken from, https://code.djangoproject.com/wiki/DynamicModels

How to use:

  1. Deploy django-dynamic or copy app as your base app name.

  2. Make a virtual environment

  3. pip install -r requirements.txt

  4. Fill in database details

  5. Visit the admin

  6. Start adding apps.

Important Notes:

Before you start run python manage.py startapp <APP_NAME> According to what you will name your app in the admin section.

If you make a change to app or model, drop all of the app tables and start from scratch with the following steps.

  1. Drop all app tables.

  2. Run, python manage.py makemigrations –empty <APP_NAME>

  3. Then run, python manage.py makemigrations

  4. Then run, python manage.py migrate

Also please access the homepage to load your apps like needed into Django. http://127.0.0.1:8000/

You will soon get the hang of it.

This is only the planned version, do not use in production until you know all the ins and outs of Django Dynamic.

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.tar.bz2 (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page