Re: Need help with Query: Q Objects and .extra()

2012-11-18 Thread est
Sorry for bumping this old this, but I found solutionfor this problem qs = models.MyModel.objects.filter(a=1) qs |= models.MyModel.objects.filte(b=2).extra(where=[""]) I checke the generated SQL and it's working exactly as expected. Hope this helps anyone

django admin datetime widget NOT using UTC time?

2011-10-13 Thread est
vascript. The backend should always send/recieve UTC time. Besides, the time zone info browser sends to backend is not reliable and incomplete. Is there a fix for this? Thanks! Regards, est -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Absolute URL vs Relative URL, or ~ ?

2008-09-16 Thread est
Thank you Kip. Call me stupid but does site framework have something to do with HTTP HOST header? But in my case the site is for ANYSITE, no matter you visit the site by IP, domain, or even customized CNAME you cann visit the site with out any problem (Why there isn't a wildcard * in site framew

Re: Absolute URL vs Relative URL, or ~ ?

2008-09-16 Thread est
First thanks all of you for the quick reply! On Sep 16, 4:10 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Wiadomość napisana w dniu 2008-09-16, o godz. 10:02, przez est: > > > > > > > > > Today, my boss came to me and asked: "Please move our django site f

Absolute URL vs Relative URL, or ~ ?

2008-09-16 Thread est
Today, my boss came to me and asked: "Please move our django site from http://xxx.com/ to http://xxx.com/v2/"; It's killing me. Just image how huge mount of HTML source code to modify. I STRONGLY suggest django implement a 'project url' like asp.net, say where ~ always points to the current d

Re: complex forms validation logic?

2008-08-26 Thread est
Thanks, I'll learn that. :-) On Aug 26, 4:44 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-08-26 at 01:39 -0700, est wrote: > > class ContactForm(forms.Form): > >     subject = forms.CharField(max_length=100) > >     message =

complex forms validation logic?

2008-08-26 Thread est
class ContactForm(forms.Form): subject = forms.CharField(max_length=100) message = forms.CharField() email = forms.EmailField() phone = forms.CharField(max_length=8) cc_myself = forms.BooleanField(required=False) is there a way that, between 'email' and 'phone', at least one

DATE_WITH_TIME_FULL bug in multiple i18n???

2008-08-25 Thread est
Hi guys! This is my first time submitting a ticket to a OSS project. So if I did something wrong plz tell me :-) http://code.djangoproject.com/ticket/8541 I discovered in history of a custom model's auto-admin interface. that the date/time displays wrong. in zh_CN locale is shows SunPMChina Sta

Re: Integrate xmpppy with django

2007-10-11 Thread est
ll help you with Jabber/XMPP > issues. > > On 10 Paź, 11:56, est <[EMAIL PROTECTED]> wrote: > > > > > Thank you Christoph. > > > Yes I have tried a independent daemon, but that's a bit complicated > > for a small site. Is there a simipler way? >

Re: Integrate xmpppy with django

2007-10-10 Thread est
e, I'd suggest > *NOT USING* xmpppy. This library is flawed in many ways and do not > conform many standards published in XMPP RFC. Use pyxmpp (http:// > pyxmpp.jajcus.net/) instead. It is written by a member of Jabber board > and is more compatible with official XMPP standard. &g

Re: Integrate xmpppy with django

2007-10-10 Thread est
Thank you Christoph. Yes I have tried a independent daemon, but that's a bit complicated for a small site. Is there a simipler way? Simple is better. On Oct 10, 5:23 pm, Christoph Rauch <[EMAIL PROTECTED]> wrote: > est schrieb:> I am writing a GoogleTalk bot for my django

Integrate xmpppy with django

2007-10-10 Thread est
Hi, all I am writing a GoogleTalk bot for my django site, but I don't know were to initiate a xmpppy Client object in Django. Should I put it in my project's __init__.py ? I need the bot to be always online so where can I write a GLOBAL, long survival object in Django? How can I make xmpppy Clien

django & trac on the same lighttpd?

2007-09-13 Thread est
# "port" => 3033, "socket" => "/home/est/django- projects.sock", "check-local" => "disable", ) ),

When 1.0 ?

2007-09-10 Thread est
Hi I am a new web developer in django. Could anyone tell me when will django go to 1.0? Will django support py3k? Is django worth learning compared with other web frameworks like turbogears, RoR? --~--~-~--~~~---~--~~ You received this message because you are subs