Skip to content

marin1321/MarketSpace_Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarketSpace

Sistema de anuncios por medio de usuarios para la administracion de los mismos

Quick start

  1. install the package using "pip install git+git://github.com/ahmadiga/django-generator.git" or "pip install django-generator"
  2. Add "django_generator" to your INSTALLED_APPS setting.

What can i do with this?

Basically this package contains two django management commands:

  1. Generate_app : which creates a scaffold a new app following django-starterkit Guidelines
  2. Generate_views : which generate code for basic CRUD operations for every model in the app models including urls,admins,templates and crispy forms.

How to use the package

  1. Install the package using the steps above
  2. Run python manage.py generate_app <APP NAME>
  3. Add your django models in <APP NAME>/models.py
  4. Run python manage.py generate_views <APP NAME>
  5. You will find all new codes as commented lines of codes inside there specified files
  6. Uncomment what is needed and delete what is not.
  7. Import any missing libraries.