Closed TeslaDevX closed 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.
If you want to add courses, log in as professor and go to his dashboard and follow steps to add a course.
Click on professor (profile button) at navigation bar
Thank you :) Also how can I assign role as a professor to a newly signed user? There is no option in Django Admin Panel
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.
Got hold of it successfully. Thanks a lot :)
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!