Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • May 16 2015 16:59
    olasitarska commented #362
  • May 16 2015 16:59

    olasitarska on master

    Making post_detail.html more co… Merge pull request #362 from ve… (compare)

  • May 16 2015 16:59
    olasitarska closed #362
  • May 16 2015 16:57
    kvbik commented #362
  • May 16 2015 16:51
    veuu opened #362
  • May 16 2015 15:20
    hjwp commented #361
  • May 16 2015 15:16
    hjwp synchronize #361
  • May 16 2015 15:15
    hjwp synchronize #361
  • May 16 2015 15:12
    bmispelon commented #361
  • May 16 2015 15:08
    hjwp opened #361
  • May 16 2015 14:58
    bmispelon opened #360
  • May 16 2015 13:15
    bmispelon commented #359
  • May 16 2015 13:15

    bmispelon on master

    Provide alternative runserver c… Merge pull request #359 from Al… (compare)

  • May 16 2015 13:15
    bmispelon closed #359
  • May 16 2015 13:14
    keimlink commented #359
  • May 16 2015 13:13
    olasitarska commented #359
  • May 16 2015 13:09
    bmispelon commented #359
  • May 16 2015 11:53
    Almad opened #359
  • May 15 2015 20:00
    bmispelon commented #358
  • May 15 2015 19:59

    bmispelon on master

    fixing broken github link Merge pull request #358 from gs… (compare)

Djangogirls tutorial says: "If you see a different error message, try restarting your web server. To do that, in the console window that is running the web server, stop it by pressing Ctrl+C (the Control and C keys together). On Windows, you might have to press Ctrl+Break. Then you need to restart the web server by running a python manage.py runserver command" Ctrl+C or Ctrl+Break don't give anything. I found in the pythonanywhere bash console that Crtl+D means exit. Ctrl+D exits the console, I open a new bash console and run python manage.py runserver and get "python: can't open file 'manage.py': [Errno 2] No such file or directory"

When uploading to Python Anywhere the website doesn't upload. The latest version has been pushed to Github and pulled to PythonAnywhere but it isn't properly running. I think it might be an issue with updating the static files.

I'm on this step: https://tutorial.djangogirls.org/en/extend_your_application/#updating-the-static-files-on-the-server

suresh tumu
Hello, Good Morning

when updating a pullup on pythonanywhere when entering the git pull command it writes an error
error: Your local changes to the following files would be overwritten by merge: db.sqlite3
Please, commit your changes or stash them before you can merge

How to fix it?

Hi, can anybody help me?=) I've started tutorial, and got one problem on pythonanywhere site. At first i made command pip3.6 install --user pythonanywhere in the bash console, and everything was good, but next, when i made pa_autoconfigure_django.py https://github.com/<your-github-username>/my-first-blog.git with my nickname i 've got bash: pa_autoconfigure_django.py: command not found, how can solve this problem. Thanks in advance! :)
I've fixed one interesting detail, sometimes i can delete my current bash console and create the new console, and it can have an appear like "19:23:~$" , in this case the command pa_autoconfigure_django.py https://github.com/<your-github-username>/my-first-blog.git is executed successfully, I'm not sure, that understand why is it...
can anyone share me a useful link to host a django application in production on aws ec2 instance (ubuntu)
when i input that command: python manage.py migrate

I get an error: Traceback (most recent call last):
File "manage.py", line 10, in main
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "manage.py", line 21, in <module>
File "manage.py", line 12, in main
raise ImportError(
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

Suyoj Man Tamrakar
@Bezmozllbly I guess you are not inside the virtual environment so you are getting that error.Try getting inside the virtual environment and then enter the command.Hope that shall work :)
Raphael Das Gupta
Jeferson Moura
Hey guys, some partners and I are building an open-source API Gateway in Django with a lot of features and I want to ask you for feedback. Our idea is to help developers to speed up the process of application creation, including their API. We would like to also encourage people to use "micro" services and industry standards, so they can connect services that are built in different languages and use them seamlessly. Keep in mind that this project is still in progress and it's not in version 1.0 yet but it will be ;). I'd love to get some feedback from you all, so you can use the link below, email me directly jeferson@buildly.io or the team team@buildly.io
Thank you and have fun :D
Sorry for the long message
Stephen Peters
Is there an actual repo for the code for the project?
Jeferson Moura
Stephen Peters
Thanks, @jefmoura
Jeferson Moura
Thank you for trying it. I appreciate =D
Kathryn Burton
Hello! Within the tutorial I've reached the admin section. The webpage says that the site cannot be reached though. Why is this?
Jeferson Moura
Hey @kthrynburton_gitlab what do you mean with the site cannot be reached? Maybe, you can share some screenshot, traceback. Could you also tell me which tutorial you used?
We have a channel on Gitter for the project community, maybe it's better to talk there, so we don't bother the other ones here.
Kathryn Burton
I've been using this tutorial: https://tutorial.djangogirls.org/en/django_admin/
Jeferson Moura
Sorry @kthrynburton_gitlab but I was confused. I thought you were talking about the application I had shared before. Regarding your tutorial, it seems like your using a different port but I'm not sure.
Kumar Ojas
Hey I want to make a website ...Can someone help?
Kaustubh Maske Patil
@KumarOjas #metoo
Vishesh Mangla
hey how can I learn django easily?
Jeferson Moura
@XtremeGood The Django tutorial is pretty straightforward and it can help you with the beginning/first understanding https://docs.djangoproject.com/en/3.0/intro/tutorial01/
Vishesh Mangla
Well I have already done that poll app
but it seems difficult
but people say it is easy
it is tougher than ml
machine learning
Private Python Practice file
hi is there anyone else?
I am stuck with this error
PS C:\Users\NT900X3L-K78L\djangogirls> py manage.py-tpl migrate
Traceback (most recent call last):
File "manage.py-tpl", line 15, in <module>
File "C:\users\NT900X3L-K78L\djangogirls\myvenv\lib\site-packages\django\core\management__init.py", line 371, in execute_from_command_line
File "C:\users\NT900X3L-K78L\djangogirls\myvenv\lib\site-packages\django\core\management\
init.py", line 317, in execute
File "C:\users\NT900X3L-K78L\djangogirls\myvenv\lib\site-packages\django\conf\
init.py", line 56, in getattr
File "C:\users\NT900X3L-K78L\djangogirls\myvenv\lib\site-packages\django\conf\
init.py", line 43, in _setup
self._wrapped = Settings(settings_module)
File "C:\users\NT900X3L-K78L\djangogirls\myvenv\lib\site-packages\django\conf\
init.py", line 106, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\Users\NT900X3L-K78L\AppData\Local\Programs\Python\Python36-32\lib\importlib\
init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 936, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named '{{ project_name }}'
i have no idea what it means.
Ronny Adrian Meza Acosta
Hello, I am working with djangogirls/tutorial in mi computer every thing working, but in pythonanywhere the pages look differents, I think that the data base is not updated. Some one have a similar problem? Please, let me know, thanks a lot
Hi girls, I am trying to use Celery in Django to run some background tasks. and the thing is, is the Celery able to handle multiple layers of async method? Because my tasks require a lot of await and async.
Hello am new to django programing
But am having trouble with template does not exist, can I get help please thank you
Suyoj Man Tamrakar
@emperor0004 Could you please post the error log as well..So that it could be more clear to us?
Hi, I'm running through the tutorial and trying to deploy the server. But I'm getting this error when I try to run it: "Error: [errno 11001] getaddrinfo failed"
@Nollonpollon did you fill in ALLOWED_HOSTS in your mysite/settings.py file? Or is it an empty list?
@dtomlinson91 Hi, I tried both filling it out and keeping it empty 🙂

Do you know if you are behind a proxy? This error is raised from the socket package: https://docs.python.org/3.5/library/socket.html#socket.getaddrinfo and could be for many reasons, I've seen it if it cannot resolve a hostname when I'm behind a proxy server.

Are you trying to start the webserver locally, or are you trying to host on pythonanywhere?

Makes sense, but i'm not behind a proxy. I'm just trying to host it locally for now
Hmm, is it failing when you do a python manage.py runserver? Can you try the command python manage.py runserver
Or if you’re on Windows try 0:8000 instead
Yea, so when i do "python manage.py runserver 0:8000" then it gives me that error. When i do it without 0:8000 it gives me the UnicodeDecodeError
Supratik Sarkar
Is it really possible to completely skip CSS and use Django to build good UI for my portfolio?