Skip to main content

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


Download files

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

Source Distribution

django-simplify-0.0.7.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file django-simplify-0.0.7.tar.gz.

File metadata

  • Download URL: django-simplify-0.0.7.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for django-simplify-0.0.7.tar.gz
Algorithm Hash digest
SHA256 58045fd63ec2800030fdf1e12cfde78fa64528bc2e4f7d4cbe0a5ba688661af0
MD5 cbfb3c9a4507f83957fd482ae8409002
BLAKE2b-256 03a0bc4619c164ac2e24ac782255271858466db76d58a34bda173227cdb9ddb4

See more details on using hashes here.

Supported by

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