python - How to use normal user(Models) in machina -


i have created model of instructor (for project coursera , udacity instructor uploads video student) name, uname, email, password, pic project , have done code session , stuff it.

now want add forums in so, tried use django-machina came know machina forums can used superuser or staff user , have separate model instructor.

what should do? (how can create staff user model?)

models.py instructor:

 class instructor(models.model):      fname = models.charfield(max_length=30)      lname = models.charfield(max_length=30)      uname = models.charfield(max_length=30)      email = models.charfield(max_length=100)      password = models.charfield(max_length=20)      pic = models.filefield()       def __str__(self):          return self.email 


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -