Hi!
i'm having problem with raw_id_admin argument in aplication from the
djangoproject tutorial. only difference from orginal app is in the
raw_id_admin in Choice model
# this is the model.py:
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=200
that's it
tnx!
On Jul 16, 1:42 pm, Karen Tracey wrote:
> On Thu, Jul 16, 2009 at 7:04 AM, onoxo wrote:
>
> > Hi!
> > i'm having problem with raw_id_admin argument in aplication from the
> > djangoproject tutorial. only difference from orginal app is in th
I'm using raw_id_fields in admin.py
the question, how could i get the Poll question atribute and the
number in admin?
number is ok but it would be better if i could get more info than
that...
can i create a new class atribute in models.py and refer to Poll
class?
something like this:
tempPoll =
Hi!
I'm having a problem with drag'n'drop ordering of model
"PhotoSetPhotoItem". I'm using the solution with jQuery and it's
working ok (reordering) when i have a models.CharField where i manualy
write unique string (without seting it as PK). when i dont have it
reorders visualy but when i save th
to make it simple, i have this in models.py
class Photo(models.Model):
title_hr = models.CharField('(hr)', max_length=255)
title_en = models.CharField('(en)', max_length=255)
img = FileBrowseField(max_length=200, initial_directory="",...)
class PhotoSetPhotoItem(models.Model):
or
how can i access ForeignKey model attribute value in save() or
__unicode__ method?
some hint will help.
here is my model.py:
class PhotoSetPhotoItem(models.Model):
photo_item = models.ForeignKey('Photo', related_name='photoitem')
slug = models.SlugField(blank = True, null = True)
de
does someone have a hint on this one?
On Jul 17, 5:08 pm, onoxo wrote:
> how can i access ForeignKey model attribute value in save() or
> __unicode__ method?
> some hint will help.
>
> here is my model.py:
>
> class PhotoSetPhotoItem(models.Model):
> photo_item =
19, 4:15 pm, Daniel Roseman wrote:
> On Jul 17, 4:08 pm, onoxo wrote:
>
>
>
>
>
> > how can i access ForeignKey model attribute value in save() or
> > __unicode__ method?
> > some hint will help.
>
> > here is my model.py:
>
> > cla
this is my model.py:
class Event(models.Model):
title = models.CharField('Event Name', max_length=300)
photo_set = models.ForeignKey(PhotoSet, blank=True, null=True)
class PhotoSet(models.Model):
title = models.CharField(max_length=300)
slug = models.CharField(max_length=300)
a
someone?
i need this today...
tnx!
On Aug 18, 11:48 pm, onoxo wrote:
> this is my model.py:
>
> class Event(models.Model):
> title = models.CharField('Event Name', max_length=300)
> photo_set = models.ForeignKey(PhotoSet, blank=True, null=True)
>
&
hi!
i have a model and I'm using it as inline in admin site. here is the
code:
models.py
class PhotoItem(models.Model):
order = models.IntegerField(blank = True, null = True)
itemset = models.ForeignKey('PhotoSet', related_name='photoset')
item = models.ForeignKey('Photo', related_na
is there some kind of manual/procedure to use objects in template
pages?
On Oct 21, 10:40 pm, onoxo wrote:
> hi!
> i have a model and I'm using it as inline in admin site. here is the
> code:
>
> models.py
>
> class PhotoItem(models.Model):
> order = models.In
some hint?
On Oct 22, 12:28 pm, onoxo wrote:
> is there some kind of manual/procedure to use objects in template
> pages?
>
> On Oct 21, 10:40 pm, onoxo wrote:
>
>
>
> > hi!
> > i have a model and I'm using it as inline in admin site. here is the
> >
i get this error when i try to create new item in admin site.
here is my models.py
import datetime
from django.db import models
from tinymce import models as tinymce_models
from filebrowser.fields import FileBrowseField
class ItemWithMedia(models.Model):
created = models.DateTimeField(auto_no
:
Cannot assign None: "Actual.published" does not allow null values.
On Nov 27, 10:57 pm, onoxo wrote:
> i get this error when i try to create new item in admin site.
>
> here is my models.py
> import datetime
> from django.db import models
> from tinymce import mod
ing this in
> the definition:
>
> class ItemWithMedia(models.Model):
> # ... all of your old stuff goes here
> class Meta:
> abstract = True
>
> That way Django knows it's just a base class.
>
> Not sure what the problem is, y
how much mails can i send with send_mass_mail()
i have like 7000 users and i have send mail to all of them.
thanks,
vedran
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To un
thanks!
i'm talking with people from webfaction about smtp limit, i'll post
result...
On Mar 10, 9:04 pm, Jirka Vejrazka wrote:
> > how much mails can i send with send_mass_mail()
> > i have like 7000 users and i have send mail to all of them.
>
> Hi,
>
> I have never used it myself, but a qui
hi!
I know about Mailman but i have to send unique mail to each user, kind
of confirmation with system generated url.
On Mar 11, 12:16 am, CLIFFORD ILKAY
wrote:
> On 03/10/2010 02:19 PM, onoxo wrote:
>
> > how much mails can i send with send_mass_mail()
> > i have like 700
@CLIFFORD ILKAY
how did you handle so much mails?
On Mar 11, 12:22 am, onoxo wrote:
> hi!
>
> I know about Mailman but i have to send unique mail to each user, kind
> of confirmation with system generated url.
>
> On Mar 11, 12:16 am, CLIFFORD ILKAY
> wrote:
>
>
&
20 matches
Mail list logo