Default values stay only on python layer. For example you can specify any
callable as default value so it cannot be "mapped" into DLL.
On Mon, Dec 29, 2008 at 3:50 PM, Rama wrote:
> i have a model class as below. *(please observe the red color lines)*
>
> class
i have a model class as below. *(please observe the red color lines)*
class NewsEntry(models.Model):
*noofshares = models.IntegerField(default=0)**
ispopular = models.BooleanField(default=0) *
pdate = models.DateField(db_index=True)
publisheddate =
2 matches
Mail list logo