t;[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-11-01 at 04:50 +0000, Julio César Carrascal Urquijo wrote:
>
>
>
> > I'm installing Django on a shared hosting account but I've been
> > fighting the las two hours with this error:
>
> > /home//django_src/django/cont
On Oct 31, 11:57 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-11-01 at 04:50 +, Julio César Carrascal Urquijo wrote:
>
> > I'm installing Django on a shared hosting account but I've been
> > fighting the las two hours with this error:
>
> B
I'm installing Django on a shared hosting account but I've been
fighting the las two hours with this error:
/home//django_src/django/contrib/sessions/middleware.py in
process_request(self=, request=,
POST:)
13 engine = __import__(settings.SESSION_ENGINE, {}, {},
[''])
14 se
I'm a newbie on Django my self but maybe this is what you are looking
for:
class Category(models.Model):
code = models.CharField(maxlength=200, unique=True)
products = models.ManyToManyField('Product')
class Product(models.Model):
parent = models.ForeignKey('Post')
I have the following models (Well, very simplified):
class Category(models.Model):
code = models.CharField(maxlength=200, unique=True)
posts = models.ManyToManyField('Post')
class Product(models.Model):
parent = models.ForeignKey('Post')
code = models.CharField(ma
That's it. Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTEC
I'm using a cursor inside the _pre_save() method for one of my models
and figured it would be wise to use the table name gerated by Django
instead of just hard-coding the name.
Is it possible to access the table name of a model from one of it's
methods?
Thanks.
(I'm using Django 0.95, btw)
-
Hi.
I would like to use django models on external scripts to
initialize/modify the database. Is it possible?
I've followed the instructions of the tutorial (set
DJANGO_SETTINGS_MODULE='website.settings' and importing
website.settings works on python shell) but haven't been able to get it
to work
8 matches
Mail list logo