takn again
On 3 Set, 18:40, Shawn Milochik wrote:
> Yes, the password stored will only ever be the hash type, hash salt,
> and hash. You should never store it in plain text.
>
> If you're interested you can look at the actual model. You might be
> interested in these functions: set_password(), ge
a, ok tank you. Your post clarify me much woolly things in my
mind.
So I understand that password field will not be treated in standard
manner, and it needs to be managed very carefully. Its purpose is only
to store the final encrypted password, isn't it?
On 3 Set, 17:14, Shawn Milochik wrote
'django.contrib.sites',
'django.contrib.databrowse',
'django.contrib.messages',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
'djapps.cap',
'djapps.commesse',
'djapps.registro',
)
and these
Hi all, i'm new to django...sorry for wasting your preciouse time
my question:
i'm extending User model; all seems ok and working; however when
adding a new user in the form derived from ModelForm a field password
is displayed like the following:
password: ___ Usa '[algo]$[salt]$[hexdig
yes you are right. Howto?
On 19 Ago, 17:47, Mathieu Leduc-Hamel wrote:
> But by the way you field seem to be a sum of some others, maybe it should
> not be a new field but just a new method returing the resulting calculation
> depending of the attributes of your instance. No ?
>
> On Thu, Aug 19,
in fact I DO NOT want denormilize
On 19 Ago, 16:56, bruno desthuilliers
wrote:
> On 19 août, 16:25, Nick wrote:
>
> > You need to look at overriding the model's save method in order to add
> > data from one field to another dynamically.
>
> Useless denormalization (until proved otherwise of cour
>
> On Aug 19, 2:03 am, djnubbio wrote:
>
> > Sorry for wasting your preciuose time. I'm very newby in django.
>
> > I have de following
>
> > class Commessa(models.Model):
> > commessa = models.CharField(max_length=20)
> > quota_oraria=m
tank very much, widoyo. It was what i was looking for...and It works.
On 20 Ago, 00:32, widoyo wrote:
> Try to add function 'quota_ore' below.
>
> On Aug 19, 3:03 am, djnubbio wrote:> Sorry for
> wasting your preciuose time. I'm very newby in django.
>
&g
Sorry for wasting your preciuose time. I'm very newby in django.
I have de following
class Commessa(models.Model):
commessa = models.CharField(max_length=20)
quota_oraria=models.DecimalField(max_digits=5, decimal_places=2)
...
class Diario(models.Model):
data= models.DateField('da
ok it work, tank to your previous suggestion...
I didn't pay enough attention and was invoking that page from a wrong
URL
tank again for your preciouse time.
On 17 Ago, 21:10, Steve Holden wrote:
> On 8/17/2010 2:49 PM, djnubbio wrote:
>
> > tank for your response. I try you
tank you, too. I did in advance what you suggest, and was for that
reason i said zxc was empty...
On 17 Ago, 20:39, Shawn Milochik wrote:
> In addition to what Steve said, I'd recommend putting something like
> this in your template as a test:
>
> zxc is: '{{ zxc }}'
> comm.id is: '{{ comm.id }}'
Holden wrote:
> On 8/17/2010 1:53 PM, djnubbio wrote:
>
> > hi all and tank in advance for wasting your time; i'm very newby in
> > django framework
>
> > I have the following:
>
> > #views.py
> > ...
> > def lista_diario(request, comm_id):
&g
hi all and tank in advance for wasting your time; i'm very newby in
django framework
I have the following:
#views.py
...
def lista_diario(request, comm_id):
comm_list =
Commessa.objects.all().annotate(oretot=Sum('diario__ore'))
return render_to_response('commesse/lista_diario.html',
dic
Hi all and tank very much for your preciouse time
I have the following scenario:
#models.py
class Anagrafica(models.Model):
GENERE_CHOICES = (
(u'M', u'Maschio'),
(u'F', u'Femmina'),
)
cognome = models.CharField(max_length=20)
nome = models.CharField(m
hi all; sorry for wasting your preciouse tume.
I'm trouble with the following:
class A(models.Model):
.
.
.
class B(models.Model):
.
.
.
a= models.ForeignKey(A)
class C(models.Model):
.
.
.
b= models.ForeignKey(B)
How can i filter data that belongs to an A instance, while editing
class C in
15 matches
Mail list logo