[BangPypers] ChoiceField in django models

2011-11-10 Thread Asif Jamadar
Suppose I have choicefield in my django model which consist of several choices. Now in future if I changed the existing choice (option) with some other name (choice), then whether the existing records in model with that choice(option) will also change? Or In admin page I need to set that new

Re: [BangPypers] ChoiceField in django models

2011-11-10 Thread Gora Mohanty
On Thu, Nov 10, 2011 at 3:25 PM, Asif Jamadar asif.jama...@rezayat.net wrote: Suppose I have choicefield in my django model which consist of several choices. Now in future if I changed the existing choice (option) with some other name (choice), then whether the existing records in model with

Re: [BangPypers] ChoiceField in django models

2011-11-10 Thread Asif Jamadar
Thank you so much for your suggestion. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Timestamp error

2011-11-10 Thread Dhananjay Nene
On Thu, Nov 10, 2011 at 5:05 PM, Shashidhar Paragonda shashidha...@gmail.com wrote: Dear Python hackers, I am facing *ValueError : **timestamp out of range for platform time_t * **I am working on Zope v. 2.8.11 with Python v2.4.4 on Debian v6.0 Squeeze.

Re: [BangPypers] Timestamp error

2011-11-10 Thread Shashidhar Paragonda
Hello Dhananjay, Here is code def _setCookie( self, bid, REQUEST, remove=0, now=time.time, strftime=time.strftime, gmtime=time.gmtime ): expires = None if remove: expires = Sun, 10-May-1971 11:59:00 GMT elif

[BangPypers] Pony mode

2011-11-10 Thread Noufal Ibrahim
If you're using Emacs and work with Django, you might find Pony mode[1] useful. It seems to be quite feature rich. Footnotes: [1] https://github.com/davidmiller/pony-mode -- ~noufal http://nibrahim.net.in Gentlemen, I want you to know that I am not always right, but I am never wrong.

Re: [BangPypers] Pony mode

2011-11-10 Thread Gopalakrishnan Subramani
thank you. I will play around. On Thu, Nov 10, 2011 at 8:15 PM, Noufal Ibrahim nou...@gmail.com wrote: If you're using Emacs and work with Django, you might find Pony mode[1] useful. It seems to be quite feature rich. Footnotes: [1] https://github.com/davidmiller/pony-mode -- ~noufal