Looking for help installing django

2021-05-06 Thread Philip Pelletier

I get this error message on the browser at 127.0.01:8000

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/

Django Version: 3.2.1
Python Version: 3.9.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'events']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback (most recent call last):
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\core\handlers\exception.py",
 
line 47, in inner
response = get_response(request)
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\utils\deprecation.py",
 
line 119, in __call__
response = self.process_response(request, response)
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\middleware\clickjacking.py",
 
line 26, in process_response
if response.get('X-Frame-Options') is not None:

Exception Type: AttributeError at /
Exception Value: 'tuple' object has no attribute 'get'

-- 
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 the web visit 
https://groups.google.com/d/msgid/django-users/7a861eb5-df71-4c0b-a239-82c28d18cb06n%40googlegroups.com.


Need help setting up django

2021-05-06 Thread Philip Pelletier



Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/

Django Version: 3.2.1
Python Version: 3.9.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'events']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']

I get this error

Traceback (most recent call last):
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\core\handlers\exception.py",
 
line 47, in inner
response = get_response(request)
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\utils\deprecation.py",
 
line 119, in __call__
response = self.process_response(request, response)
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\middleware\clickjacking.py",
 
line 26, in process_response
if response.get('X-Frame-Options') is not None:

Exception Type: AttributeError at /
Exception Value: 'tuple' object has no attribute 'get'

-- 
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 the web visit 
https://groups.google.com/d/msgid/django-users/bc0a8dcc-1bcd-4e7d-a17c-eaf6b39f4533n%40googlegroups.com.


Re: Looking for help installing django

2021-05-06 Thread Philip Pelletier
All I did was install and start django. I made no edits of any kind. I even 
reinstalled python and got the same problem,

On Thursday, May 6, 2021 at 1:40:29 PM UTC-4 abubak...@gmail.com wrote:

> can you please explain to me that what are you trying to do? because you 
> have explained nothing in your question about your problem
>
> On Thu, May 6, 2021 at 10:26 PM Sharif Mehedi  
> wrote:
>
>> Not very understandable, no useful information on your message body, only 
>> there's an exception!
>> Try to understand what you are doing and when you understand ask for help 
>> if you cannot solve it yet.
>> On Thursday, May 6, 2021, 10:27:35 PM GMT+6, Philip Pelletier <
>> philipp...@gmail.com> wrote: 
>>
>>
>>
>> I get this error message on the browser at 127.0.01:8000
>>
>> Environment:
>>
>>
>> Request Method: GET
>> Request URL: http://127.0.0.1:8000/
>>
>> Django Version: 3.2.1
>> Python Version: 3.9.4
>> Installed Applications:
>> ['django.contrib.admin',
>>  'django.contrib.auth',
>>  'django.contrib.contenttypes',
>>  'django.contrib.sessions',
>>  'django.contrib.messages',
>>  'django.contrib.staticfiles',
>>  'events']
>> Installed Middleware:
>> ['django.middleware.security.SecurityMiddleware',
>>  'django.contrib.sessions.middleware.SessionMiddleware',
>>  'django.middleware.common.CommonMiddleware',
>>  'django.middleware.csrf.CsrfViewMiddleware',
>>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>>  'django.contrib.messages.middleware.MessageMiddleware',
>>  'django.middleware.clickjacking.XFrameOptionsMiddleware']
>>
>>
>>
>> Traceback (most recent call last):
>>   File 
>> "C:\Users\phili\python\myclub\vert\lib\site-packages\django\core\handlers\exception.py",
>>  
>> line 47, in inner
>> response = get_response(request)
>>   File 
>> "C:\Users\phili\python\myclub\vert\lib\site-packages\django\utils\deprecation.py",
>>  
>> line 119, in __call__
>> response = self.process_response(request, response)
>>   File 
>> "C:\Users\phili\python\myclub\vert\lib\site-packages\django\middleware\clickjacking.py",
>>  
>> line 26, in process_response
>> if response.get('X-Frame-Options') is not None:
>>
>> Exception Type: AttributeError at /
>> Exception Value: 'tuple' object has no attribute 'get'
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/7a861eb5-df71-4c0b-a239-82c28d18cb06n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/7a861eb5-df71-4c0b-a239-82c28d18cb06n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/1289025461.1281886.1620321964614%40mail.yahoo.com
>>  
>> <https://groups.google.com/d/msgid/django-users/1289025461.1281886.1620321964614%40mail.yahoo.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/django-users/a1e303f9-c2d4-4e1b-939c-58ccd559d576n%40googlegroups.com.