Re: runserver not working

2022-03-21 Thread Antonis Christofides
What Visual Studio shows you is the content of the file "manage.py". Apparently when you enter "manage.py [whatever]", Windows understands that you want to open the file "manage.py", and it thinks that Visual Studio is the program with which such files should be opened. Try "python manage.py

runserver not working

2022-03-21 Thread 'Delvin Alexander' via Django users
would anyone know why my "manage.py runserver" is not working? Every time i try running it on the command prompt, i get relocated to my visual studio of manage.py file that states this: #*!/usr/bin/env python* *"""Django's command-line utility for administrative tasks."""* *import os* *import sy

Re: How do detect if template is being viewed on mobile device?

2022-03-21 Thread Kayode Oladipo
Hello, I had this exact problem, and I solved it using this package. https://pypi.org/project/django-user-agents/ Cheers. On Sun, Mar 20, 2022 at 7:01 PM Django2021 wrote: > Thanks for your answers. > Rephrasing question in another thread. > > > On Thursday, March 17, 2022 at 8:11:10 AM UTC+1

Re: Using Admin to manage users that is not in django

2022-03-21 Thread Thiago Luiz Parolin
Thank you!! I will follow your instructions. I think this will be enough for my app. Em seg., 21 de mar. de 2022 às 00:26, Aldian Fazrihady escreveu: > Django admin is so coupled to Django models. > Django admin is customizable. > > If you want some "integration" with your existing Django admin