SyntaxFix
Write A Post
Hire A Developer
Questions
You can set the default like this:
b = models.CharField(max_length=7,default="foobar")
and then you can hide the field with your model's Admin class like this:
class SomeModelAdmin(admin.ModelAdmin): exclude = ("b")