On Mon, 2011-07-04 at 11:51 +0200, Szabo, Patrick (LNG-VIE) wrote:
> Yes i am.
> It seems that in the fieldset there can not be a field that is allowed
> to be null.
> If i remove that field it works.
>
> Is there a workaround for that ?!
my observation (subject to correction) is that if there
11 11:53
An: django-users@googlegroups.com
Betreff: Re: unique_together doesn't work
On Mon, Jul 4, 2011 at 10:43 AM, Szabo, Patrick (LNG-VIE)
wrote:
> Hi,
>
> Sry, i was a little bit unclear.
> Of course i tried to store identical entries (all fields have the same
> values)
On Mon, Jul 4, 2011 at 10:43 AM, Szabo, Patrick (LNG-VIE)
wrote:
> Hi,
>
> Sry, i was a little bit unclear.
> Of course i tried to store identical entries (all fields have the same
> values) and i had no problem doing so. Since most of the files i want to
> check for can be null i only inputet
: Re: AW: unique_together doesn't work
On Mon, 2011-07-04 at 11:43 +0200, Szabo, Patrick (LNG-VIE) wrote:
> Sry, i was a little bit unclear.
> Of course i tried to store identical entries (all fields have the same
> values) and i had no problem doing so. Since most of the files i w
On Mon, 2011-07-04 at 11:43 +0200, Szabo, Patrick (LNG-VIE) wrote:
> Sry, i was a little bit unclear.
> Of course i tried to store identical entries (all fields have the same
> values) and i had no problem doing so. Since most of the files i want
> to check for can be null i only inputet a titel.
-Ursprüngliche Nachricht-
Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im
Auftrag von Kenneth Gonsalves
Gesendet: Montag, 04. Juli 2011 11:40
An: django-users@googlegroups.com
Betreff: Re: unique_together doesn't work
On Mon, 2011-07-04 at 11:33 +0200, Szabo, Pa
. Juli 2011 11:38
An: django-users@googlegroups.com
Betreff: Re: unique_together doesn't work
On Mon, Jul 4, 2011 at 10:33 AM, Szabo, Patrick (LNG-VIE)
wrote:
> Hi,
> ...
> class Meta:
> unique_together = ("Kategorie", "Titel", "Auflage"
On Mon, 2011-07-04 at 11:33 +0200, Szabo, Patrick (LNG-VIE) wrote:
> but somehow the unique_together doesn't seem to work.
what does 'doesn't seem to work' mean?
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
--
You received this message because you
On Mon, Jul 4, 2011 at 10:33 AM, Szabo, Patrick (LNG-VIE)
wrote:
> Hi,
> ...
> class Meta:
> unique_together = ("Kategorie", "Titel", "Auflage", "Status")
>
> but somehow the unique_together doesn’t seem to work. I can store entries
> with the same titel without a problem.
>
>
>
> Am I
Hi,
I have the following model:
class Produkte(models.Model):
Kategorie = models.ForeignKey(Kategorien)
Titel = models.CharField(max_length=100)
Auflage = models.IntegerField(max_length=2, blank=True)
Bestell_Nr = models.CharField(max_length=30, blank=True)
ISBN =
10 matches
Mail list logo