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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -