Re: TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Dennis Kornbluh
quot; is a new thing in the upcoming Django version. I'm fairly >> certain that you accidentially used Django's development version at some >> point while going through the tutorial. >> >> Could you please paste your models.py and the migration files Django >> cr

Re: TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Dennis Kornbluh
ns". > > /Markus > > On Sun, Aug 21, 2016 at 11:16:44PM -0700, Dennis Kornbluh wrote: > >Going through the Django tutorial > ><https://docs.djangoproject.com/en/1.10/intro/tutorial05/>, now at part > 5, > >section "Running tests". Followed t

Re: TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Markus Holtermann
ections precisely, copy/pasted to create polls/test.py, After running $ python manage.py test polls got a stacktrace (http://dpaste.com/2XP5QZ7) ending with TypeError: 'class Meta' got invalid attribute(s): indexes Totally stumped. Everything has worked up to this point. -- You receiv

Re: TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Tim Graham
05/>, now at part > 5, section "Running tests". Followed the directions precisely, copy/pasted > to create polls/test.py, After running > > $ python manage.py test polls > > > got a stacktrace (http://dpaste.com/2XP5QZ7) ending with TypeError: 'class >

TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Dennis Kornbluh
ttp://dpaste.com/2XP5QZ7) ending with TypeError: 'class Meta' got invalid attribute(s): indexes Totally stumped. Everything has worked up to this point. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: invalid attribute

2014-08-02 Thread ngangsia akumbo
i migrated to linux everything is clear thanks On Saturday, August 2, 2014 11:22:30 AM UTC+1, ngangsia akumbo wrote: > > That is the error i got , > > i am using windows so it id diffiult at times to copy the full error > > On Friday, August 1, 2014 1:40:14 PM UTC+1, Collin Anderson wrote: >>

Re: invalid attribute

2014-08-02 Thread ngangsia akumbo
That is the error i got , i am using windows so it id diffiult at times to copy the full error On Friday, August 1, 2014 1:40:14 PM UTC+1, Collin Anderson wrote: > > all of your methods are indented too much. They should be at the same > level as `class Meta`, not part of it. > -- You receive

Re: invalid attribute

2014-08-01 Thread Collin Anderson
all of your methods are indented too much. They should be at the same level as `class Meta`, not part of it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to dja

Re: invalid attribute

2014-08-01 Thread Daniel Roseman
On Friday, 1 August 2014 11:55:10 UTC+1, ngangsia akumbo wrote: > > class Meta invalid attribute , price_sale, get_absolute_url > >> >>> You *have* to do better than this. As I have told you before, you must provide *all* the relevant information if you want people to he

Re: invalid attribute

2014-08-01 Thread ngangsia akumbo
class Meta invalid attribute , price_sale, get_absolute_url On Friday, August 1, 2014 3:10:40 AM UTC+1, cmawe...@gmail.com wrote: > > Do you have the full error message? > > > On Thursday, July 31, 2014 5:48:55 PM UTC-4, ngangsia akumbo wrote: >> >> *Got an invalid

Re: invalid attribute

2014-07-31 Thread cmawebsite
Do you have the full error message? On Thursday, July 31, 2014 5:48:55 PM UTC-4, ngangsia akumbo wrote: > > *Got an invalid attribut error* > > class Product(models.Model): > name = models.CharField(max_length=255, unique=True) > slug = models.SlugField(max_length=255, unique=True, >

invalid attribute

2014-07-31 Thread ngangsia akumbo
*Got an invalid attribut error* class Product(models.Model): name = models.CharField(max_length=255, unique=True) slug = models.SlugField(max_length=255, unique=True, help_text="Each product has a unique name") brand = models.CharField(max_length=50) sku = models.CharFi

Re: Django Model Errors : TypeError: 'class Meta' got invalid attribute(s): using

2012-02-01 Thread Daniel Roseman
> in Django models.py. > > However while doing a syncdb I get an error like this : > > TypeError: 'class Meta' got invalid attribute(s): using > > what am I missing here?? > > any pointers or docs will be of great help. > > - > Regards &g

Django Model Errors : TypeError: 'class Meta' got invalid attribute(s): using

2012-01-31 Thread Subhodip Biswas
Hi all, I am newbie in django and while trying to write a database router for using multiple database I did something like : class Meta: using = 'somedatabasename' in Django models.py. However while doing a syncdb I get an error like this : TypeError: 'class Me

Re: db_schema support was broken by Debian upgrade: 'class Meta' got invalid attribute(s): db_schema

2010-07-09 Thread MiddleForkGIS
Thank you, I'm sure you're essentially correct, with one wrinkle. What I believe happened was that the Debian upgrade resulted in a change from python 2.5 to 2.6, and so I believe that what happened was that resulted in the pythonpath changing as well, and pointing to the Debian 'python-django' pac

Re: db_schema support was broken by Debian upgrade: 'class Meta' got invalid attribute(s): db_schema

2010-07-04 Thread Ramiro Morales
**kwargs)) > File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line > 213, in add_to_class >  value.contribute_to_class(cls, name) > File "/usr/lib/pymodules/python2.6/django/db/models/options.py", line > 93, in contribute_to_class >  raise TypeError

db_schema support was broken by Debian upgrade: 'class Meta' got invalid attribute(s): db_schema

2010-07-04 Thread MiddleForkGIS
alue.contribute_to_class(cls, name) File "/usr/lib/pymodules/python2.6/django/db/models/options.py", line 93, in contribute_to_class raise TypeError("'class Meta' got invalid attribute(s): %s" % ','.join(meta_attrs.keys())) TypeError: 'class Meta' got inv