Why so complicated. I don't check but there is:
$ rb-site manage . changepassword
On Fri, Sep 10, 2010 at 7:06 PM, Jan Koprowski wrote:
> The problem is if You use sqlite and owner os file is Apache user :|
>
> On 8 Wrz, 21:50, Christian Hammond wrote:
>> Hi Dave,
>>
>> While we should prob
The problem is if You use sqlite and owner os file is Apache user :|
On 8 Wrz, 21:50, Christian Hammond wrote:
> Hi Dave,
>
> While we should probably provide an easier way to do this, the
> following should work.
>
> $ rb-site manage /path/to/site shell
> >>> from django.contrib.auth.mod
Hi Dave,
While we should probably provide an easier way to do this, the
following should work.
$ rb-site manage /path/to/site shell
>>> from django.contrib.auth.models import User
>>> u = User.objects.get(username="admin")
>>> u.set_password("the new password")
>>> u.save()
R