Re: How to fight Russia in America

2023-03-12 Thread Jacob Greene
Get bent my guy. On Sun, Mar 12, 2023, 11:59 PM Jacob Greene wrote: > Lmao wtf is this troll > > On Sun, Mar 12, 2023, 5:51 PM Michael Starr wrote: > >> I'll roll over and die then. Thank you for contributing to the Russian >> cause. My parents would be proud. >> >> On Sunday, March 12, 2023

Re: How to fight Russia in America

2023-03-12 Thread Jacob Greene
Lmao wtf is this troll On Sun, Mar 12, 2023, 5:51 PM Michael Starr wrote: > I'll roll over and die then. Thank you for contributing to the Russian > cause. My parents would be proud. > > On Sunday, March 12, 2023 at 3:37:58 PM UTC-7 Sebastian Jung wrote: > >> Please stop this propaganda... This

Re: Django Admin

2023-03-12 Thread Mir Junaid
try including this line in your index.html or main HTML page {% csrf_token %} if it still doesn't work do include it in every html page On Sat, 11 Mar 2023 at 23:33, James Hunt wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to

Re: How to get fresh air

2023-03-12 Thread Dylan Reinhold
Just go away. On Sun, Mar 12, 2023, 15:52 Michael Starr wrote: > How do you get fresh air in your house? > > -- > 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, send an > email

How to get fresh air

2023-03-12 Thread Michael Starr
How do you get fresh air in your house? -- 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, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on

Re: How to fight Russia in America

2023-03-12 Thread Michael Starr
I'll roll over and die then. Thank you for contributing to the Russian cause. My parents would be proud. On Sunday, March 12, 2023 at 3:37:58 PM UTC-7 Sebastian Jung wrote: > Please stop this propaganda... This haven't nothing to do with django > > Michael Starr schrieb am So., 12. März 2023,

Re: How to fight Russia in America

2023-03-12 Thread Sebastian Jung
Please stop this propaganda... This haven't nothing to do with django Michael Starr schrieb am So., 12. März 2023, 23:20: > Russia's influence in America is powerful. How do you fight it? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group.

How to fight Russia in America

2023-03-12 Thread Michael Starr
Russia's influence in America is powerful. How do you fight it? -- 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, send an email to django-users+unsubscr...@googlegroups.com. To

Re: Accessing my local backend

2023-03-12 Thread Carlos André Dantas de Lima
Have you chose url in settings, allow tô access and you try access with mobile deixe in other address or port Em dom, 12 de mar de 2023 14:42, Donald KANTI escreveu: > Hey you should start the Django server on 0.0.0.0 something like this > python > > python manage.py runserver 0.0.0.0:8000

Re: Accessing my local backend

2023-03-12 Thread Donald KANTI
Hey you should start the Django server on 0.0.0.0 something like this python python manage.py runserver 0.0.0.0:8000 Then make sure the mobile and your server are in the same network On Sun, Mar 12, 2023, 6:33 PM Rafael J. Soteldo S. wrote: > Hi there: > > I'm being able to access my

Accessing my local backend

2023-03-12 Thread Rafael J. Soteldo S.
Hi there: I'm being able to access my local backend built with django/python from Postman and react, but if I try to access it from an application built for mobiles, I get a Network error. I try to access the backend from an android device What should I set in django in order to being able to

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2023-03-12 Thread Amar Zamoum
I just had the same problem, and i realized that i had the templates file in the wrong "mysite" folder. It is easy to confuse the two, so for whoever has the same problem, just check where exactly you have put the "template/admin" folders, because in the tutorial it says to put inside the

Re: static files

2023-03-12 Thread Sandip Bhattacharya
Static files outside apps are not served by default. Have you added the main directory static directory to settings yet? https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-STATICFILES_DIRS Something like this is typically done in project settings: STATICFILES_DIRS = [BASE_DIR /

Re: Django Admin

2023-03-12 Thread James Hunt
I did add this but no change!!! Just keep getting that CSRF token error when trying to access admin!! Which is strange as the CSRF token is predominantly for POST methods. # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [] CSRF_TRUSTED_ORIGIN = (

Re: Django Admin

2023-03-12 Thread Muhammad Juwaini Abdul Rahman
Have you tried my suggestion? On Sun, 12 Mar 2023 at 20:32, James Hunt wrote: > I have literally set this up today just to prove that it happens for every > Django project setup!!! > > So this is my settings : > > > """ > Django settings for DjangoTest project. > > Generated by 'django-admin

Re: Django Admin

2023-03-12 Thread James Hunt
I have literally set this up today just to prove that it happens for every Django project setup!!! So this is my settings : """ Django settings for DjangoTest project. Generated by 'django-admin startproject' using Django 4.1.7. For more information on this file, see

Re: Django Admin

2023-03-12 Thread Muhammad Juwaini Abdul Rahman
I think you need to add the following in settings.py: CSRF_TRUSTED_ORIGIN = ('') On Sun, 12 Mar 2023 at 02:04, James Hunt wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to