Re: problem with inlineformset_factory

2008-11-06 Thread Collin Grady
Usage questions belong on the django-users list - this list is for the development of django itself :) -- Collin Grady --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this grou

problem with inlineformset_factory

2008-11-06 Thread Petry
Hi all, I'm having a weird problem when using inlineformset_factory, he can only register up to 2 records, after that causes a validation error "(Hidden field id) User phone with this None already exists." Here is my forms [1], models [2] and views [3] [1] http://dpaste.com/88598/ [2] http://d

Re: Dynamic SITE_ID (again)

2008-11-06 Thread Joey Wilhelm
Yes, I did run into that issue. This is what I ended up with: http://dpaste.com/89143/ Now I'm not saying that my code is 100% working, or that I recommend using it; that's why it's up on dpaste and not DjangoSnippets. Personally, I hate this solution but it at least seems to be working for no

Re: Dynamic SITE_ID (again)

2008-11-06 Thread Joe
Joey Wilhelm wrote: > I also found a snippet which implements something similar, here: > http://www.djangosnippets.org/snippets/1099/ > Of course, the snippet didn't really work right and had to be beaten > into submission to even give the illusion of working. I also referred to that snippet for

ticket 9163

2008-11-06 Thread Carl Meyer
Hi devs, Anyone have a moment to give an opinion on the best direction for a fix to #9163 [1]? I know there's been some discussion of alternate ways to do CSRF-protection, but for the time being CSRFMiddleware is what we've got, and it would be nice if it didn't break ETags. I can put together