What does your settings.py look for k like? Can you copy/paste it here?
On Sat, May 19, 2018 at 9:00 AM Umar Kambala <umarkambala@gmail.com> wrote:
DEBUG is on but when I runserver the content on my header.html is not displaying on de browser. It gives me not found on de cmd window n 404 error on de webpage.
On May 19, 2018 3:37 PM, "James Farris" <jamesafarris@gmail.com> wrote:If you set DEBUG = TrueThen restart your python server then reload the page, what is the output?It's best to leave debug on until you have all the bugs worked out since it provides a lot of information that will tell you what's happeningSent from my mobile deviceTo view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPkbFbY1boLipn6TCiHQAWdHXq8qtob3aFzWnnACawULFJJorg%40mail.gmail.com.I have been following de tutorials on web development but got lost on de peronal. Wen I run my server its gud to go but it won't display de content on de web browser. It always give me 404 error
On May 19, 2018 3:28 PM, "James Farris" <jamesafarris@gmail.com> wrote:--Are you asking where DEBUG = False is?--If so, it would be in your project folder/project name/settings.pySent from my mobile deviceHow to I set my debug = false? On my django settings.. I don't know where to get de settings
On May 3, 2018 12:52 AM, "Gerald Brown" <gsbrown43@gmail.com> wrote:--Have you tried "pip install django" without the "== 2.0.5". I think that if you do not specify a version pip will install the latest version.
On Thursday, 03 May, 2018 12:46 AM, umarkambala@gmail.com wrote:
--please this is the massage i keep on getting when trying to install django.. what do i do?
C:\Users\Admin>pip install Django==2.0.5Collecting Django==2.0.5Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)': /simple/django/Downloading https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl (7.1MB)0% | | 10kB 1.2kB/s eta 1:36:24Exception:Traceback (most recent call last):File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 302, in _error_catcheryieldFile "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 384, in readdata = self._fp.read(amt)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, in readdata = self.__fp.read(amt)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py", line 449, in readn = self.readinto(b)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py", line 493, in readinton = self.fp.readinto(b)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\socket.py", line 586, in readintoreturn self._sock.recv_into(b)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line 1009, in recv_intoreturn self.read(nbytes, buffer)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line 871, in readreturn self._sslobj.read(len, buffer)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line 631, in readv = self._sslobj.read(len, buffer)socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py", line 215, in mainstatus = self.run(options, args)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py", line 324, in runrequirement_set.prepare_files(finder)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py", line 380, in prepare_filesignore_dependencies=self.ignore_dependencies))File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_filesession=self.session, hashes=hashes)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py", line 821, in unpack_urlhashes=hashesFile "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py", line 659, in unpack_http_urlhashes)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py", line 882, in _download_http_url_download_url(resp, link, content_file, hashes)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py", line 603, in _download_urlhashes.check_against_chunks(downloaded_chunks)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunksfor chunk in chunks:File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py", line 571, in written_chunksfor chunk in chunks:File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\ui.py", line 139, in iterfor x in it:File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py", line 560, in resp_readdecode_content=False):File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 436, in streamdata = self.read(amt=amt, decode_content=decode_content)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 401, in readraise IncompleteRead(self._fp_bytes_read, self.length_remaining)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\contextlib.py", line 99, in __exit__self.gen.throw(type, value, traceback)File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 307, in _error_catcherraise ReadTimeoutError(self._pool, None, 'Read timed out.')pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e6894c96-a69c-4980-9c95-e5b509652a23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f6c9d96a-cf4b-e150-f8a6-1c886fc5d1a4%40gmail.com.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPkbFbZOf2OfoYnZVXh7_YyGBGNs7sGq%3DsTWsUhraM5JjFkmZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/E502F340-5E25-4EC8-935C-06EE321DE95C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7211CF85-B7FC-4596-862A-F3E8C3DB279F%40gmail.com.--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPkbFbZE16DdBR%3DrrYGTCV7GdbV8bmnJiU14kuMLcyGkoaOAyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE-E-_0C4iXocY8gW57dxuhOpppZJE86HHsZkxvX0yd59wUwOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment