zuri-training / My_debtors_Team35

This stuDebt platform is centred on helping schools prevent debtors from registering in another school despite pending debts in the previous school.
Apache License 2.0
6 stars 5 forks source link

Ebere #36

Closed ebereanuebunwa closed 2 years ago

ebereanuebunwa commented 2 years ago

I set up the Custom UserModel and registered it in the settings.py file. You may check the comments I left on each commit.

I also set up one-to-one relationships between the two user models, and the customusermodel. With this, we may not need to define the email and password fields in the school and student model again. But now we can define (is_student = True) inside the student model and (is_school = True) inside the school model.

ebereanuebunwa commented 2 years ago

They will bro, this is just for the admin panel.

collinsezedike commented 2 years ago

localhost:8000/admin or school-dashboard/admin

ebereanuebunwa commented 2 years ago

localhost/admin