Re: StackedLinein and 404 error

2011-10-13 Thread akshar raaj
As pointed by the error message you are getting, the url you tried did not match any of the urls django is aware of. For using any Model in the admin, you need to register it with the admin. As evident from your url, you are trying to use a model named Choice under polls app. But you have not regi

Re: Test DB Connection

2011-10-14 Thread akshar raaj
>From what i can understand, you want to test whether you can connect to database from your django project or not. If this is your need then try the following: Go to the shell using following command: python manage.py shell On the shell, issue the following statements: from django.db import conn

Re: post_save problem

2011-11-26 Thread akshar raaj
Hi, Let's assume your first model on which you want to have post_save be User(django.contrib.auth.models.User). Say, you want to alter the data of some other model whenever a User is saved i.e post_save for User. Let's say this model as "MyModel". The code which you want to run on post_save goes i