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
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
Hahahaha I'm glad it helped! I will probably add this answer to your
stackoverflow question. Maybe it will help someone else.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
also try: LOGIN_REDIRECT_URL
On Tuesday, 24 June 2014 16:55:21 UTC+2, Sergiy Khohlov wrote:
>
> Hello,
>
> Could you please paste your LOGIN_URL from your settings.py
>
>
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> On Tue, Jun 24, 2014 at 5:40 PM, Діма Ревуцький
Hello,
Could you please paste your LOGIN_URL from your settings.py
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Tue, Jun 24, 2014 at 5:40 PM, Діма Ревуцький wrote:
> I had same problem
> In settings remove SESSION_COOKIE_DOMAIN or set correct domain
>
>
I had same problem
In settings remove SESSION_COOKIE_DOMAIN or set correct domain
понедельник, 6 июня 2011 г., 13:57:11 UTC+3 пользователь Aidan написал:
>
> I'm having trouble with the Django Admin. My login page appears ok at
> http://127.0.0.1:8000/admin but when I try to login with a valid
yes its the same username and passwd for database are also same
On Thu, Mar 15, 2012 at 10:10 PM, Joel Goldstick
wrote:
> On Thu, Mar 15, 2012 at 7:40 AM, dummyman dummyman
> wrote:
> > Hi
> > Still its not working :( getting the same error
> > On
On Thu, Mar 15, 2012 at 7:40 AM, dummyman dummyman wrote:
> Hi
> Still its not working :( getting the same error
> On Thu, Mar 15, 2012 at 12:59 PM, vikalp sahni
> wrote:
>>
>> ITS in settigns.py file.
>>
>> if its not there just write.g
>>
>>
Hi
Still its not working :( getting the same error
On Thu, Mar 15, 2012 at 12:59 PM, vikalp sahni wrote:
> ITS in settigns.py file.
>
> if its not there just write.g
>
> SESSION_COOKIE_DOMAIN = "localhost" and then try.
>
> Regards,
> //Vikalp
>
>
> On Wed, Mar 14, 2012 at
ITS in settigns.py file.
if its not there just write.
SESSION_COOKIE_DOMAIN = "localhost" and then try.
Regards,
//Vikalp
On Wed, Mar 14, 2012 at 11:48 PM, dummyman dummyman wrote:
> Wer is the SESSION_COOKIE_DOMAIN ?
>
>
> On Wed, Mar 14, 2012 at 11:32 PM, dummyman
Wer is the SESSION_COOKIE_DOMAIN ?
On Wed, Mar 14, 2012 at 11:32 PM, dummyman dummyman wrote:
> hi
>
> i got this error msg
>
> Please enter a correct username and password. Note that both fields are
> case-sensitive.
>
>
> On Wed, Mar 14, 2012 at 11:21 PM, vikalp sahni
hi
i got this error msg
Please enter a correct username and password. Note that both fields are
case-sensitive.
On Wed, Mar 14, 2012 at 11:21 PM, vikalp sahni wrote:
> Can you share your SESSION_COOKIE_DOMAIN setting. In your settings.py file.
>
> Also, is there any
Can you share your SESSION_COOKIE_DOMAIN setting. In your settings.py file.
Also, is there any error message which is displayed on top of login form
when you try to login?
Regards,
//Vikalp
On Wed, Mar 14, 2012 at 11:06 PM, dummyman dummyman wrote:
> hi ..
>
> I created a
hi ..
I created a superuser but still getting the same error
@vikalp: But it works for other projects with the same superuser name and
password
On Wed, Mar 14, 2012 at 10:57 PM, Denis Darii wrote:
> Try to create your superuser again:
>
> ./manage.py createsuperuser
>
>
Try to create your superuser again:
./manage.py createsuperuser
On Wed, Mar 14, 2012 at 6:25 PM, vikalp sahni wrote:
> You have to check your
>
> SESSION_COOKIE_DOMAIN in settings file if i.e pointing to "localhost" (if
> not cookies will not properly set and hence
You have to check your
SESSION_COOKIE_DOMAIN in settings file if i.e pointing to "localhost" (if
not cookies will not properly set and hence login will not be allowed)
the best would be to use some host entry like example.com 127.0.0.1 and
then use that in SESSION_COOKIE_DOMAIN and for accessing
Have commented out the 'SESSION_COOKIE_SECURE' and
'SESSION_EXPIRE_AT_BROWSER_CLOSE' from the settings.py file.
This has fixed the problem and I can now log in to admin.
On Jun 6, 1:33 pm, Aidan wrote:
> Thanks for the input.
>
> I've tried deleting all .pyc files and still
Thanks for the input.
I've tried deleting all .pyc files and still get the same issue.
Also checked the cookies - I've got one sessionid and one csrftoken,
so that doesn't look like the issue.
I've tried using the chrome javascript debugger to look for 404's and
haven't found any.
I haven't
On Mon, Jun 6, 2011 at 6:57 AM, Aidan wrote:
> I'm having trouble with the Django Admin. My login page appears ok at
> http://127.0.0.1:8000/admin but when I try to login with a valid
> username or password the page seems to refresh - it reappears with
> text boxes empty. It
Oh and:
- delete all *.pyc files from your project and restart the development
server <-- this is a nice one that often solves mysterious problems that
seem to be impossible and drive you insane
Best regards,
Martin
On Mon, Jun 6, 2011 at 7:13 PM, Martin
I faced this a long time ago and it nearly drove me insane. Eventually I
just started a new project from scratch and the problem disappeared.
Wild guesses:
- Open the JavaScript debug toolbar of Google Chrome (CTRL+SHIFT+J), then
reload the site and see if there are any 404 errors (that
21 matches
Mail list logo