I just want to add an ratings filed. I've added djangoratings in installed apps and my model is
from django.db import models
from djangoratings import RatingField
class Rat(models.Model):
search= models.CharField(max_length=10)
rating = RatingField(range=5)
Whe开发者_开发问答n I syncdb it comes up with no model found djangoratings. Is there anything i want to do more.
Thanks in advance
Have you installed the package djangoratings? Following the install instructions here
It seems like syncdb can't find the models.py of the djangorating package.
精彩评论