Re: Newline stripping in templates: the dnl way

2012-02-27 Thread Tobia
Jonathan French wrote: > Let me make sure I've got this right --- The situation being discussed is > not where whitespace is insignificant and can be stripped, but where > whitespace is important and you want to control the exact amount of it, > e.g. plain text emails. In this case, just using stri

Re: Newline stripping in templates: the dnl way

2012-02-27 Thread Anssi Kääriäinen
On Feb 27, 1:01 pm, Tobia wrote: > After reading all the above, I can see the arguments against this: > >     if forloop.last >         %} empty-form last-related{% >     endif > %}" id="{{ >     ... > > Ugh!! Agreed. Seeing that just changed me from +1 to -0 for multiline tags. Although the mul

Re: Revisiting multiline tags

2012-02-27 Thread Ned Batchelder
On 2/26/2012 12:12 AM, Yo-Yo Ma wrote: After Ned's message, I'm -0, because while I'm not fond of multi-line tags, I cannot offer a good alternative when it comes to multi-line "with" tags. On Feb 25, 6:48 pm, Ned Batchelder wrote: On 2/24/2012 11:55 PM, Yo-Yo Ma wrote:> I'm -1 on this for s

override_settings with dynamic model creation

2012-02-27 Thread Alisue
Hi, all Previously, I create a simple TestCase which call ``syncdb`` command in ``pre_setup`` method to create tables of apps which is only required for testing (https://gist.github.com/ 1600883). And also, I found https://github.com/edavis/django-override-settings which is really useful to overr

Re: override_settings with dynamic model creation

2012-02-27 Thread Florian Apolloner
Hi, On Monday, February 27, 2012 2:53:37 PM UTC+1, Alisue wrote: > > But I found that ``override_settings`` is available in dev version of > django. So I just wonder that if official django's > ``override_settings`` support dynamic model creation. ``override_settings`` does exactly what the na

Tickets #15124 and #4102

2012-02-27 Thread Andrew Badr
#15124 - can a committer please look at this before 1.4 hits? It got and then lost RFC for mysterious reasons. #4102 - This thing is a beast. It was "Accepted" 18 months ago, but I would bet against it ever landing in trunk. Someone should take a serious look and, if necessary, shoot it in the hea

Mobile Login????

2012-02-27 Thread relihkcin
Hey, has anyone developed a mobile login? i'm having issues. When i load the login page into a for my mobile app. It wont work. But if i redirect it to webbrowser. it works. I'm still a couple months new with django. Any help would be appriacted. thanks -- You received this message because you a

Re: Mobile Login????

2012-02-27 Thread Shawn Milochik
On 02/27/2012 02:24 PM, relihkcin wrote: Hey, has anyone developed a mobile login? i'm having issues. When i load the login page into a for my mobile app. It wont work. But if i redirect it to webbrowser. it works. I'm still a couple months new with django. Any help would be appriacted. thanks

Re: Mobile Login????

2012-02-27 Thread Jeremy Dunck
You've mailed the django-developers list which is for development *of Django itself*. The proper mailing list about *using* Django is django-users. Please send this message to django-users unless you're proposing a change to Django. http://groups.google.com/group/django-users On Mon, Feb 27,

Re: Tickets #15124 and #4102

2012-02-27 Thread Anssi Kääriäinen
On Feb 27, 9:05 pm, Andrew Badr wrote: > #15124 - can a committer please look at this before 1.4 hits? It got > and then lost RFC for mysterious reasons. > > #4102 - This thing is a beast. It was "Accepted" 18 months ago, but I > would bet against it ever landing in trunk. Someone should take a >

Re: Tickets #15124 and #4102

2012-02-27 Thread Andrew Badr
On Feb 27, 12:14 pm, Anssi Kääriäinen wrote: > I happened to just post a comment to ticket 4102. The way forward is > throwing out automatic changed field tracking and just implementing > what the ticket was originally about: .save(save_fields=['somef']), > which would then update field somef. Tha

Ticket and patch #17627

2012-02-27 Thread Luke Granger-Brown
Can someone please review https://code.djangoproject.com/ticket/17627 for me? I think I've resolved all the outstanding issues in my latest version of the patch. Regards, Luke Granger-Brown -- You received this message because you are subscribed to the Google Groups "Django developers" group. T

Re: Mobile Login????

2012-02-27 Thread Λlisue
(2012年02月28日 04:24), relihkcin wrote: > Hey, has anyone developed a mobile login? i'm having issues. When i > load the login page into a for my mobile app. It wont work. But > if i redirect it to webbrowser. it works. I'm still a couple months > new with django. Any help would be appriacted. thank

Re: override_settings with dynamic model creation

2012-02-27 Thread Λlisue
(2012年02月28日 01:34), Florian Apolloner wrote: > Hi, > > On Monday, February 27, 2012 2:53:37 PM UTC+1, Alisue wrote: >> >> But I found that ``override_settings`` is available in dev version of >> django. So I just wonder that if official django's >> ``override_settings`` support dynamic model cr