On Sat, 11 Aug 2007 14:36:50 +, Patrick Anderson wrote:
> On Sat, 11 Aug 2007 14:34:05 +0000, Patrick Anderson wrote:
>
>> On Fri, 10 Aug 2007 18:46:18 -0700, Doug B wrote:
>>
>>
> ---
>&g
On Sat, 11 Aug 2007 14:34:05 +, Patrick Anderson wrote:
> On Fri, 10 Aug 2007 18:46:18 -0700, Doug B wrote:
>
>>>
---
>>>
>>> If I have 8 people, how should bind POST data to a form objec
On Fri, 10 Aug 2007 18:46:18 -0700, Doug B wrote:
>> ---
>>
>> If I have 8 people, how should bind POST data to a form object in the
>> view?
>
> You can use the 'prefix' option when instantiating the forms. Prefix
> the form w
On Fri, 10 Aug 2007 13:32:32 -0700, Collin Grady wrote:
> One method is to include a hidden input somewhere that indicates the
> number of forms present. Then you can just use a for loop from 1 to that
> number in the view to build the right number of forms again.
>
>
>
This is the raw html fo
This is a simplified PersonForm I've created with newforms library:
class PersonForm(forms.Form):
name = forms.CharField()
first_name = forms.CharField()
middle_name = forms.CharField(required = False)
last_name = forms.CharField()
The problem I have is that I need to update
On Tue, 31 Jul 2007 22:40:50 +, Pensee wrote:
> Hi,
>
> On Jul 31, 11:46 pm, Patrick Anderson <[EMAIL PROTECTED]> wrote:
>> I'd prefer not to hack the contrib.auth application and change User
>> model,
>
> Adding just unique=true is not so
I'd like to create a couple of views that would allow users to retrieve
their forgotten username or password by email.
It seems to me that the only reliable way to do this would be for my
application to require unique email addresses for User objects. However
email field in django.contrib.auth
Recently I've encountered the following error:
--
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/mod_python/importer.py",
line 1537, in HandlerDispatch
default=default_handler, arg=req, si
On Wed, 25 Jul 2007 18:39:03 -0500, James Bennett wrote:
> On 7/25/07, Patrick Anderson <[EMAIL PROTECTED]> wrote:
>> Anyway, why not reset password for a logged-in user only? Maybe I've
>> look at the code too briefly, and there might be a reason for iterating
>&g
On Wed, 25 Jul 2007 22:47:05 +, Patrick Anderson wrote:
> Today when trying to add 'reset password' feature into my project, I
> noticed that the PasswordResetForm() 'save' method resets passwords for
> all cached users.
>
> I have been testing the sit
On Thu, 26 Jul 2007 00:11:59 +0200, Kai Kuehne wrote:
> Unfortunately I cannot keep the relation between Entry and Image because
> I get an weird error (see #4633) if the m2m field is None.
>
> So.. is there another way to just show a list of models on an edit page
> of another model without hav
Today when trying to add 'reset password' feature into my project, I
noticed that the PasswordResetForm() 'save' method resets passwords for
all cached users.
I have been testing the site with various users logged in, and when I
tried to reset my password from within my public site, I received
Hi! It's been a while since I posted to this list, but I have a little
problem and would like to ask for some help.
I have the following 2 models:
class Personnel(models.Model):
report = models.ForeignKey(Report, unique = True)
class Admin:
pass
def __st
g report, I'd
like to ask if anyone has been faced with this issue.
Patrick Anderson
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
Hi!
I'm impressed with Django and all the fuss that it removed from my
development. Our organisation is considering moving our document
management from an old Access db to PostgreSQL and I thought of using
django as an admin interface, plus public interface (sometime down the
line.)
We have abou
15 matches
Mail list logo