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/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/2245462e57798e (7.1MB)9251de87c88b2b8f996d10ddcb6820 6a8a020561ef7bd3/Django-2.0.5- py3-none-any.whl 0% | | 10kB 1.2kB/s eta 1:36:24Exception:Traceback (most recent call last):File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\_vendor\ur llib3\response.py", line 302, in _error_catcher yieldFile "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\_vendor\ur llib3\response.py", line 384, in read data = self._fp.read(amt)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\_vendor\ca checontrol\filewrapper.py", line 60, in read data = self.__fp.read(amt)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\http\client.py", line 449, in read n = self.readinto(b)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\http\client.py", line 493, in readinto n = self.fp.readinto(b)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\socket.py", line 586, in readinto return self._sock.recv_into(b)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\ssl.py", line 1009, in recv_into return self.read(nbytes, buffer)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\ssl.py", line 871, in read return self._sslobj.read(len, buffer)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\ssl.py", line 631, in read v = 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\li b\site-packages\pip\basecomman d.py", line 215, in main status = self.run(options, args)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\commands\i nstall.py", line 324, in run requirement_set.prepare_files(finder) File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\req\req_se t.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\req\req_se t.py", line 620, in _prepare_file session=self.session, hashes=hashes)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\download.p y", line 821, in unpack_url hashes=hashesFile "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\download.p y", line 659, in unpack_http_url hashes)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\download.p y", line 882, in _download_http_url _download_url(resp, link, content_file, hashes)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\download.p y", line 603, in _download_url hashes.check_against_chunks(downloaded_chunks) File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\utils\hash es.py", line 46, in check_against_chunks for chunk in chunks:File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\download.p y", line 571, in written_chunks for chunk in chunks:File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\utils\ui.p y", line 139, in iter for x in it:File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\download.p y", line 560, in resp_read decode_content=False):File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\_vendor\ur llib3\response.py", line 436, in stream data = self.read(amt=amt, decode_content=decode_content)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\_vendor\ur llib3\response.py", line 401, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "c:\users\admin\appdata\local\programs\python\python36-32\li b\contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback)File "c:\users\admin\appdata\local\programs\python\python36-32\li b\site-packages\pip\_vendor\ur llib3\response.py", line 307, in _error_catcher raise ReadTimeoutError(self._pool, None, 'Read timed out.')pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='file s.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%40goog legroups.com
For more options, visit https://groups.google.com/d/optout .
--To view this discussion on the web visit https://groups.google.com/d/ms
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 .gid/django-users/f6c9d96a-cf4b .-e150-f8a6-1c886fc5d1a4%40gmai l.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/CAPkbFbZOf2Of .oYnZVXh7_YyGBGNs7sGq%3DsTWsUhr aM5JjFkmZw%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%40gmai l.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 .msgid/django-users/ .CAPkbFbY1boLipn6TCiHQAWdHXq8qt ob3aFzWnnACawULFJJorg%40mail. gmail.com --To view this discussion on the web visit https://groups.google.com/d/
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 .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.
No comments:
Post a Comment