Re: blog app

2014-01-11 Thread Mark Moss
Zinia is one of the best django based blog -- http://django-blog-zinnia.com/ -- - Mark *Django Framework Hosting . Kick start instantly!* -- You received this message because you are subscribed to the Google Groups "Django

Re: __unicode__() addition not working in basic poll application.

2014-01-11 Thread Juan Hu
As I mentioned, I tried this but it doesn't work for me. Is this the python unicode problem? I tried unicode(Poll.objects.all()) and it returns the same On Saturday, 11 January 2014 12:38:16 UTC-8, Kai Ren wrote: > > Just type exit() > then re-enter the shell, it will work. > > On Monday, May

Re: __unicode__() addition not working in basic poll application.

2014-01-11 Thread Juan Hu
No, just single underscore On Saturday, 11 January 2014 06:25:20 UTC-8, trojactory wrote: > > Juan, > > Are you entering double underscores like '__unicode__'? > > Cheers, > Arun > > On Saturday, January 11, 2014 5:14:01 AM UTC+5:30, Juan Hu wrote: >> >> I have same problem with Django 1.6.1 and

Re: __unicode__() addition not working in basic poll application.

2014-01-11 Thread Kai Ren
Just type exit() then re-enter the shell, it will work. On Monday, May 16, 2011 7:32:41 AM UTC-5, maaz muqri wrote: > > Hi, > > class Poll(models.Model): > # ... > def __unicode__(self): > return self.question > > class

Re: blog app

2014-01-11 Thread Leotis buchanan
Hi Everybody, can anybody recommend a blog app that I can use in a django site i am currently developing. Regards Leotis Buchanan Co-Founder Exterbox On Sat, Jan 11, 2014 at 12:55 PM, Avraham Serour wrote: > If I understood you correctly you are saying that when you

Re: nginx server not reflecting changes

2014-01-11 Thread Avraham Serour
If I understood you correctly you are saying that when you make changes on settings.py you can see them when running the project from manage.py runserver but not when on production using nginx+gunicorn When making changes you need to reload the project, runserver autoreloads this is why you can

nginx server not reflecting changes

2014-01-11 Thread Sandeep kaur
Hello, I have deployed my Django site with nginx server, gunicorn and supervisor and it is working fine. But recently I made some changes in settings file of the project and that changes are not visible on the nginx server, however same changes reflect on runserver. What can be the possible reason

python querry on firebug extention

2014-01-11 Thread JAI PRAKASH SINGH
hello i am working on selenium module of python, i know how to make extension of firebug with selenium, but i want to know how to use firebug extension with request module / mechanize . i search a lot but unable to find it , please help . technique similar like :- from selenium

Re: remove timezone support from one app

2014-01-11 Thread smcoll
To clarify, i'm dealing with datetimes which pre-date the implementation of timezones (solar time). So i'd like any admin user in any timezone to be able to enter a naive datetime which will remain the same naive datetime for any usage in the site. On Saturday, January 11, 2014 10:59:34 AM

remove timezone support from one app

2014-01-11 Thread smcoll
i have timezone support enabled for my project, but there is one application which i would like to behave as timezone-naive. How can this be accomplished? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

DateTimeQuery object has no attribute tzinfo when USE_TZ is True

2014-01-11 Thread Kush Goyal
I am using postgres as my database. I have a model called Invoice with a datetime field. I get an error when I run the query: Invoice.objects.datetimes('date_field','day') The error is: AttributeError: 'DateTimeQuery' object has no attribute 'tzinfo' This happens when USE_TZ setting is set

Re: __unicode__() addition not working in basic poll application.

2014-01-11 Thread trojactory
Juan, Are you entering double underscores like '__unicode__'? Cheers, Arun On Saturday, January 11, 2014 5:14:01 AM UTC+5:30, Juan Hu wrote: > > I have same problem with Django 1.6.1 and Python 2.7.5. I tried to restart > interactive interpreter by exit() but it still doesn't work :( >

Re: using success_url

2014-01-11 Thread trojactory
Hi Brad, If you are using FormView, then you can set the success_url as mentioned in the docs . Cheers, Arun On Saturday, January 11, 2014 1:06:56 AM UTC+5:30, Brad