Looking for help installing django

59 views
Skip to first unread message

Philip Pelletier

unread,
May 6, 2021, 12:27:51 PM5/6/21
to Django users

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'

Sharif Mehedi

unread,
May 6, 2021, 1:27:47 PM5/6/21
to Django users
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.
--
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.

DJANGO DEVELOPER

unread,
May 6, 2021, 1:40:29 PM5/6/21
to django...@googlegroups.com
can you please explain to me that what are you trying to do? because you have explained nothing in your question about your problem

Philip Pelletier

unread,
May 6, 2021, 2:17:21 PM5/6/21
to Django users
All I did was install and start django. I made no edits of any kind. I even reinstalled python and got the same problem,

Sharif Mehedi

unread,
May 6, 2021, 2:25:47 PM5/6/21
to Django users
I suggest you follow the official documentation page to properly set up for a django project.

If you have trouble following the doc. Please, ask for help, and also be specific about what part of documentation you do not understand.

DJANGO DEVELOPER

unread,
May 6, 2021, 2:34:14 PM5/6/21
to django...@googlegroups.com
yeah, Sharif is right. follow the official dos. if you still not understanding the flow. come back and ask again.

Kasper Laudrup

unread,
May 6, 2021, 2:38:49 PM5/6/21
to django...@googlegroups.com
On 06/05/2021 20.17, Philip Pelletier wrote:
> All I did was install and start django. I made no edits of any kind. I
> even reinstalled python and got the same problem,
>

Just installing Django will not run an HTTP server and point your
browser to port 8000 on your localhost, so obviously you did something
more than that.

If you want someone to help you, be honest and specific in what you've
done and what you are trying to achieve.

Kind regards,

Kasper Laudrup

OpenPGP_signature

parmeshwar deharkar

unread,
May 6, 2021, 11:23:54 PM5/6/21
to django...@googlegroups.com
hi bro
i just tell you django is very easy to install .
just follow down step:
check your terminal now type: python --version
now run command : pip install django
now make project : python django-admin startproject testproject
now go to project folder: cd testproject 
see manage.py file in project folder and run command : python manage.py runserver


: run your project now Thank any problem just tell me i will solve that for you 

--
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.
Reply all
Reply to author
Forward
0 new messages