Trying to trigger a bulkcreation of records using a reverse relationship

2020-11-13 Thread DumbaClassics
Hello Family may you help. I am trying to create a School Attendance Module and I have a StudentClass table, the Student table, Attendance table and the AttendanceRecord table. Here is the code class StudentClass(models.Model): name = models.CharField(max_length=100) # stream =

django-tenants domain issue

2020-06-02 Thread DumbaClassics
Hello Family I have been following a set up documentation for django-tenants. I did all the set-up to even create a public domain and two tenant domains. For allowed hosts I put ["*"] , though not safe as per clinical research data its convinient for my localhost Test. I am having a challenge n

Struggling on how to divide our ERP according to the Compary regional offices may someone help.

2020-02-23 Thread dumbaclassics
Hello Family.We have been developing in django for 2years now. Our company recently migrated from a manual system to an ERP and we opted for Django. We have a nice working ERP  with accounting, inventory, hr, crm and scheduling modules.The problem is that the Company has got regional branches an

Re: User is not logging in admin panel

2019-12-16 Thread dumbaclassics
I once encountered the same problem with a Custom User ModelThe solution that worked for me was putting under the is_staff = True It wouldnt log in even afte that then I added the following methods under my Userdef has_perm(self, perm, obj=None):   return Truedef has_module_perms(self, app_label

Anyone kind enough to help me understand these few concepts

2019-05-16 Thread DumbaClassics
I am still new on Django Web Framework and I want to understand the MVC concept based on this Project structure. Say I am trying to come up with an Online Gambling platform. Where exaclty do put the following; 1. say I want the player to randomly shuffle cards, is this whole business called on