Provides Ruby on Rails-like command line functionalities, models and helper functions so you can focus on development and removes the pain of repeating frequent actions.
Project description
Introduction
django simplify allows you focus on development and removes the pain of repeating frequent actions like creating a urls.py. It provides several commands and custom models to make development easier. Attempts to use ruby on rails style commands as well as automate boring processes
Requirements
Python 3.6 and above
Django (tested with 3.1, probably works with any version that supports Python 3)
Installation
django-simplify can be installed via pip.
pip install django-simplify
Then just add django-simplify to your INSTALLED_APPS.
Below are several example commands you can run
python manage.py create_app <app_name>
Features
NamedTimeBasedModel - gives you access to the fields name, created_at and updated_at
automatically create a urls.py file
adds newly created app in the installed apps when you run the python manage.py create_app <app_name> command
creates index, edit, create and detail view + templates
updates the project.urls with the latest app
You can import them using the following command
from simplify.helpers.model_helper import TimeBasedModel, NamedTimeBasedModel
class MyModel(TimeBasedModel):
extra_fields = ....
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.