Re: What should be a forms.py and views.py be like for a template that has radio buttons ?

2011-06-12 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is development of Django itself. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com.

Ability to change dismissRelatedLookupPopup on my own callback function

2011-06-12 Thread Alex Kamedov
Hi all! I make integration with warehouse system and want to reuse existing functionality in django.contrib.admin to manage links between this system and catalog on site. I can't get access to warehouse system database, I have only export file. I write some views to represent its items in django a

What should be a forms.py and views.py be like for a template that has radio buttons ?

2011-06-12 Thread Satyajit Sarangi
My template has radio buttons . I would like to know what exactly be there in forms.py to render this template in the views ? This is my tempalte Username: Who can view the data Any registered users Only users that can edit Who can edit the data Any registered user Only the fol

Re: Undocumented feature for INSTALLED_APPS settings

2011-06-12 Thread Aymeric Augustin
On 12 juin 2011, at 22:35, Aymeric Augustin wrote: > Hello, > > I checked the SVN history. This "feature" was never documented, even before > the reorganization at r8506. It appears in django/conf/__init__.py when > magic-removal is merged (r2809). > > We just discussed it on IRC, and the cons

Re: Undocumented feature for INSTALLED_APPS settings

2011-06-12 Thread Aymeric Augustin
Hello, I checked the SVN history. This "feature" was never documented, even before the reorganization at r8506. It appears in django/conf/__init__.py when magic-removal is merged (r2809). We just discussed it on IRC, and the consensus is that it dates back to before Django was open-sourced. It

Undocumented feature for INSTALLED_APPS settings

2011-06-12 Thread Francesco Mari
Hi, I've read source code for django.conf package and as of Django 1.3 INSTALLED_APPS can accept wildcards for application names (e.g. django.contrib.*). It seems that the official documentation doesn't mention it in the Available Settings section. Am I wrong? -- You received this message becau

Re: Better error message for django.core.urlresolvers.reverse

2011-06-12 Thread Gregor Müllegger
Hi Tom, currently it seems that the url resolver that is actually raising the error doesn't know about in which namespace he acts. However I think as well that this might be a usefull addition to the error message. I would suggest adding a ticket to django's bugtracker [1] for this. Ideally write