django admin “create user” and “change user” doesn't work

2015-05-10 Thread Kasra Khosravi
I'm writing a simple django contact form. I have defined my models.py and admin.py in the following manner : models.py : from django.db import models > from django.contrib.auth.models import User > > class Contact(models.Model): > ACTIVE = 1 > PENDING = 2 > SUSPENDED

Use 3rd party django package in my own project (PYTHONPATH)

2015-05-11 Thread Kasra Khosravi
i am creating a susbcription management system and I want to use a third party django package for reporting : https://github.com/juanpex/django-model-report Since I am new to django, I'm not sure how to use it, First I install it using pip (I have also tried installing it using setup.py), after

Re: Use 3rd party django package in my own project (PYTHONPATH)

2015-05-12 Thread Kasra Khosravi
Thanks for the reply. My problem is with this section. can you guide me how to do this part in Ubuntu or Windows? - Add the model_report directory to your Python path. On Monday, May 11, 2015 at 12:21:06 PM UTC-7, Kasra Khosravi wrote: > > i am creating a susbcription mana