Another pkg manager are running.

Try to kill or stop those processes.

You will get this error when there is no list element to access.

For example,

L=[1, 2, 3]

L[4] doesn’t exist.

If you try to call L[4], you will get the above error.

You may get the above error.

setenv is used with csh

For bash, export is used (not setenv)

You may get the above error message in

—-

from biz.models import Entry, City, Category

class CityAdmin(admin.ModelAdmin):
list_display = (‘name’)
admin.site.register(City, CityAdmin)

———

to fix,

list_display = (‘name’,)

If you got the above error,

check if ‘templatetags’ directory has

__init__.py file or not.

You may get this type of error “no such column” when you change the models.

Try this one

$python manage.py reset thenameofyourapp

$python manage.py syncdb

———-

PS: The problem here is that all existing database will be going away.

© 2011 Web Oom Suffusion theme by Sayontan Sinha
Switch to our mobile site
Top Footer