Django admin page redirecting to some another page

2020-09-25 Thread Deepraj Devikar
I go for super user login then it redirects to template which i made not going to django admin login and django admin page, please suggest me any solution -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

Re:

2020-08-13 Thread Deepraj Devikar
Hello Rohini, use this MyModels.objects.filter(name = "Rahul") MyModel is Database table, name is column name, rahul is value to filter all users whose name is rahul will be filter links for more information https://docs.djangoproject.com/en/3.0/ref/models/querysets/ https://docs.djangoproject.c

Re: can anyone help me

2020-08-30 Thread Deepraj Devikar
yes you have to forgot upload_to in models.py imagefield you can refer my repository https://github.com/Deepraj-devikar/image-upload-react-django files are settings.py line number 135, 136 url.py line number 31 imagehadler/models.py line number 8 On Sun, Aug 30, 2020 at 10:40 AM MUGOYA

Re: Multiple roles Django 2

2019-07-07 Thread Deepraj Devikar
moldels.py On Sun, Jul 7, 2019 at 9:33 AM laya Mahmoudi wrote: > You should add some code in your settings.py like AUTH_USER_MODEL= > 'appname.modelname' which inherits django user mode. > > > در تاریخ یکشنب