avuletica / eLearning

eLearning is scalable web application written in python (django)
GNU Lesser General Public License v2.1
108 stars 62 forks source link

How to Add courses and content as admin #4

Closed TeslaDevX closed 6 years ago

TeslaDevX commented 6 years ago

How can we add content as an admin as there is no option available on localhost/admin, so that we can add the course. Also nothing appears in the courses section when we access as professor or student. Please guide me. Thanks in advance!

avuletica commented 6 years ago

When you log in as an Admin user, go to admin dashboard (top-right corner), there you can see that admin does not have professor role and that is the reason he can't add any courses.

admin

If you want to add courses, log in as professor and go to his dashboard and follow steps to add a course.

prof

avuletica commented 6 years ago

Click on professor (profile button) at navigation bar

screenshot from 2018-01-21 12-15-59

TeslaDevX commented 6 years ago

Thank you :) Also how can I assign role as a professor to a newly signed user? There is no option in Django Admin Panel

avuletica commented 6 years ago

Log in as Admin, go to admin dashboard (profile button), there you can see a list of users, click on one of them to edit user roles.

Edit: You can only assign roles as an admin user.

TeslaDevX commented 6 years ago

Got hold of it successfully. Thanks a lot :)