heroku - Model field not displaying in Django Admin -


i have django project hosted on heroku

i added new slug field model

from django.db import models  class category(models.model):     name = models.charfield(max_length=30)     slug = models.slugfield(unique=true)      def __unicode__(self):         return self.name 

migrated using south on heroku. checked heroku postgresdb added field. fine.

opened admin. no slug field showing...

added slug fields[] in admin.py. still not showing. here admin.py

from django.contrib import admin models import category  class categoryadmin(admin.modeladmin):     fields    = ('name', 'slug')  admin.site.register(category, categoryadmin). 

i did heroku restart... no change. can done show ?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -