Re: ERROR:cannot import name Post -- while using django signals

2008-05-28 Thread ravindra goyal
the code in the signals.py is like -- - from django.core.mail import send_mass_mail from django.template import Context, loader from ravi_admin.admin.models import Post -- -- Forwarded message -- From: ravindra goyal <[EMAIL PROTECTED]> Date: Wed,

ERROR:cannot import name Post -- while using django signals

2008-05-28 Thread ravindra goyal
http://www.mercurytide.co.uk/whitepapers/django-signals/ according to the documents in above URL i am trying to implement signals in django. but getting the following error --cannot import name Post please help me out how to include this Post signal in the model

drop down box in django-admin interface UI?

2008-05-22 Thread ravindra goyal
hi i want to make one of my field taking value as drop down box on django-admin UI. how can i define a field in model such that it takes value from a specific set of values in django-admin interface. i am using django-admin interface for one of my database. in a certain table in a particular field