Re: Django Admin Login

2021-11-09 Thread Aashish Kumar
Just make the path blank of admin.site.url in main urls.py file On Tue, 9 Nov 2021 at 11:38 PM, webmbackslash wrote: > Habdle it in urls.py file. > But are you sure you want all your site viewed in admin mode? > > Il mar 9 nov 2021, 15:21 Abhi Sharma ha scritto: > >> Hello, >> We have a Django

Re: Django Admin Login

2021-11-09 Thread webmbackslash
Habdle it in urls.py file. But are you sure you want all your site viewed in admin mode? Il mar 9 nov 2021, 15:21 Abhi Sharma ha scritto: > Hello, > We have a Django admin URL like https://abc.com/admin/, it's working fine > however we want to proxy with a domain for admin url like https://abc.c

Django Admin Login

2021-11-09 Thread Abhi Sharma
Hello, We have a Django admin URL like https://abc.com/admin/, it's working fine however we want to proxy with a domain for admin url like https://abc.com/ We want to remove */admin* from the URL. Regards, Abhishek -- You received this message because you are subscribed to the Google Groups

Re: Django error: type object has no attribute 'objects'‏‏

2021-11-09 Thread Kasper Laudrup
On 09/11/2021 14.26, Shada Bahassan wrote: After  I connected mysql with django, I wrote in the view files to interact with the models files. And when runsever, It give error: type object 'DemoMCall' has no attribute 'obejects' Typo: obejects -> objects. Kind regards Kasper Laudrup -- You

Re: costum user in Django 3.2

2021-11-09 Thread DJANGO DEVELOPER
have you added AUTH_USER_MODEL = 'my_app.custommodel' in your settings.py? On Monday, November 8, 2021 at 10:50:14 PM UTC+5 ngboua...@gmail.com wrote: > > hello team, how can i fix this error please? > > ValueError: Related model 'My_App.costumuser' cannot be resolved > > i want to costumize my