I have an updated user model and added two fields to it, mobile_number and
role. The field role has two options Customer and Admin. Currently, I have
made customer as the default value for role. Now what I want is when user
signup the role should be a customer but when an admin create a user fro
Sorry again, even better:
http://code.djangoproject.com/wiki/SplitSettings
fruity wrote:
> Thank you very much.
>
> After a while of searching on django-snippets there was the answer :)
>
> http://www.djangosnippets.org/snippets/94/
>
> Brice Leroy wrote:
>> Easy,
ecret import mysql_password
> ...
> you're set :)
>
> Brice
>
> 2009/12/21 fruity :
>> Hello,
>>
>> I'd like to protect the mysql password that is in settings.py
>>
>> I read in the django docs that is possible to use SHA1 hashes as
cape weird chars in the salt?
I've tried to add sha1$mysaltnoweirdchars$hash and it gives me error on
django release 1.1
Thank you very much for your time.
fruity
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gr
for f in files:
f = f.decode=('latin1').encode('utf-8')
ext = path.splitext(f)[1]
the chars are computed correctly but then it does not match anymore the
file on the filesystem.
I'm now tryn
Hi to the list,
I'm new to django, I was following the installation/setup instruction
for djapian and I don't get what is the mechanism to say "the
contents(title content author) from the model (for example) of
django.contrib.flatpages.
Is that what is defined in the docs as subclassing?
In the
6 matches
Mail list logo