Re: Vendoring Select2

2017-06-06 Thread is_null
Hi all, In our experience, it would be worth removing noConflict, but we need Django to have a recent jQuery release, it's wasn't always the case but now it's good. I don't know who relies on that except grappeli, but they would probably be happy to get rid of their double jquery loading becaus

Re: Proposal: make Model __unicode__() default to self.name

2017-04-08 Thread is_null
Usually people tell me that type(self) is better than self.__class__, so you might prepare to change that too. But yeah, it seems like a very reasonable change to me, reading lists of indistinct have always required extra steps to figure out what models they are. Thanks for your effort, Best

Re: Proposal: Refactor Form class

2016-03-04 Thread is_null
Hi On Thursday, March 3, 2016 at 9:00:47 PM UTC+1, Moritz S. wrote: > > For example, it's conceivable that the form data doesn't > come from a HTTP request with x-www-form-urlencoded or > multipart/form-data content but gets transferred as JSON. In > this case it should be easy to replace the H

Re: About Understanding of source code

2013-01-09 Thread is_null
This should be mentioned too: import ipdb; ipdb.set_trace() If you didn't already, then go ahead and mess with it. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/m

Re: Django Admin Revamp - Any updates?

2012-12-14 Thread is_null
I'm not sure if it's worth mentioning ... 2. Secure CRUD one-liner goal The new admin app should, like the current admin app, allow the user to enable full secure (permission-based) CRUD in one line of code. -- You received this message because you are subscribed to the Google Groups "Django

Re: Django Admin Revamp - Any updates?

2012-12-14 Thread is_null
On Saturday, April 28, 2012 10:13:03 PM UTC+2, Idan Gazit wrote: > As I wrote, I'd like to have a clear idea of what a new admin will > accomplish before starting to bolt on enhancements, even great enhancements > like grappelli. > > The admin was an impressively future-proof design, given that

Re: Trigger an event on add another

2012-11-28 Thread is_null
FTR, another solution is to intercept creation of tags with DOMNodeInserted. Requires no monkey patch and is compatible with django & django-grappelli out of the box: https://github.com/yourlabs/django-autocomplete-light/commit/1f1e715e20 Thanks again for your answer (which I credited in the r

Re: Trigger an event on add another

2012-11-23 Thread is_null
My bad I didn't see Mark's mail, I'll subscribe to the list and hopefully this shouldn't happen again. Thanks Mark for answering -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.goog

Re: ModelForm enforces its version of save_m2m

2012-06-06 Thread is_null
Thanks for answering. It's "funny code" but it works indeed. Thanks again -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/2_4X_NFZmP8J. To post t

Re: start using less (and bootstrap!)

2012-02-15 Thread is_null
Testifying: 0) migrating the current admin theme to bootstrap is easy (3-4 hours of template hacking) 1) the result is great (bye bye 90's theme) 2) it requires minor work in many admin template 3) doesn't force to use less at all 4) found two things that sucks during my journey which are definiti

Re: uWSGI documentation

2011-05-19 Thread is_null
Thanks Roberto for your feedback. The text seems ready so i created a ticket: http://code.djangoproject.com/ticket/16057 Again, any positive feedback and/or violent flames are welcome. James -- You received this message because you are subscribed to the Google Groups "Django developers" grou

Re: uWSGI documentation

2011-04-24 Thread is_null
Thanks a lot Roberto and Mikhail for your feedback. This update includes the changes you requested, as well as more links to uWSGI wiki: http://piratepad.net/DISxvZLCdG Is there any other action to take ? -- You received this message because you are subscribed to the Google Groups "Django deve

Re: uWSGI documentation

2011-04-08 Thread is_null
On Apr 4, 3:59 pm, Kristaps KÅ«lis wrote: > I believe that running manage.py for production deployments is "not > way to go", as it has been noted by django devs previously. > What purpose would runuwsgi command serve ? I'm unsure. Roberto's proposal is interresting: i could configure uwsgi in

New messages API: regressions ?

2011-03-29 Thread is_null
Greetings hackers, Django offered a feature to add messages to offline users, or to add messages to users in slots (if that's the pythonic name for "functions connected to signals"). It is still possible before 1.4, to call myuser.message_set.create() which doesn't need the request object. In 1.4