Skip to content

luiscberrocal/homeworkpal

Repository files navigation

homeworkpal_project

This project follows best practices as espoused in Two Scoops of Django: Best Practices for Django 1.6.

A project template for Django 1.6 (with a tag for Django 1.5).

To use this project follow these steps:

  1. Create your working environment
  2. Install Django
  3. Create the new project using the django-two-scoops template
  4. Install additional dependencies
  5. Use the Django admin to create the project

note: these instructions show creation of a project called "icecream". You should replace this name with the actual name of your project.

Working Environment

Windows

$ set DJANGO_SETTINGS_MODULE=homeworkpal_project.settings.local_acp
$ celery -A homeworkpal_project worker -l info

Mac

$ PATH=$PATH:/usr/local/sbin

$ rabbitmq-server
$ celery -A homeworkpal_project worker -l info

Dumping data to json

$ python manage.py dumpdata  --indent=4 --exclude auth.permission --exclude contenttypes > maximo/employees_fixtures.json