Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Linda Moran

@geekandglitter
Self-bootcamped in Python and Django
Repls
Community
geekandglitter
geekandglitter
shared a Post
2 years ago
Web view shows the connection is blocked
I imported a working Django web app into repl.it. It does work in the browser. But in the repl.it web view, it crashes. I've tried four browsers. The
Coder100
Coder100
image change this to ALLOWED_HOSTS=["*"] `2 years ago
Coder100
Coder100
Whitelist those apps lol2 years ago
geekandglitter
geekandglitter
shared a Post
2 years ago
I'm new to repl.it, and I have splinter skills with Django. Notes First: I see that the error message below mentions virtualenvs, but I thought I did
geekandglitter
geekandglitter
The first question was answered. I had to be sure and use pip3 instead of pip. Alternatively, using repl.it's package manager will work. And I see this morning that my repl is now always on. As for the second question, I still don't know why the web view is showing a crash, even though the server is running properly.2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
the always on for django should work. if you tried it properly, then maybe report it. https://repl.it/bugs2 years ago
SixBeeps
SixBeeps
Hi, and welcome to Repl.it. Every Repl has that folder named virtualenv, so any issues in specific to Python or any other language shouldn't have to do with it. You said that you pip installed psycopg2, did you try it with pip3? The runners have both Python 2.7 and 3.8 on them.2 years ago
geekandglitter
geekandglitter
shared a Post
2 years ago
I'm new to repl.it. I'm running on Windows 10. Here's what I did: Step One: I imported my Django web app from Github Step Two: Configured .replit to
Coder100
Coder100
Change your .replit to: language = "python3" run = "python manage.py runserver 0.0.0.0:8000" `2 years ago
Coder100
Coder100
Make sure the host is 0.0.0.0:8000 not 127.0.0.1:8000 or else it will not work.2 years ago