Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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)

Simon
@crydotsnake
Okay
zasia56
@zasia56
I am stuck at finding the path on Windows CMD. How do I find it?
Raphael Das Gupta
@das-g
@zasia56 What do you mean by "finding the path"?
zasia56
@zasia56
I meant Python file path on command prompt. I am being unable to find it
Raphael Das Gupta
@das-g
Are you at a specific step of the Django Girls tutorial?
zasia56
@zasia56
yes, I am on Intro to Python. I just started it today.
Raphael Das Gupta
@das-g

At what stop of that? Right at the beginning where it tells you to open the command line and type

python3

?

zasia56
@zasia56
Yes and stuck at save it section
I am done with the first part, stuck at the section where it says save the file and go to "IF --else"
Raphael Das Gupta
@das-g

OK. You've been able to open the command line window, I assume, but when you run

python

or

python3

an error message comes instead of the Python prompt (>>>)?

zasia56
@zasia56
python 3
Raphael Das Gupta
@das-g

There should be no space between python and 3. The command is python3 not python 3.

Though on Windows, it might be just python instead of python3 or sometimes even just py.

zasia56
@zasia56
Okay, let me try this ones out.
Thank you!
Raphael Das Gupta
@das-g
If the error persists, please tell us the exact error message.
zasia56
@zasia56

command-line

cd %HomePath%\Desktop

Whenever I am trying a path it's saying the file is not found
Raphael Das Gupta
@das-g
To paste command line output here on Gitter, first type "```" into the chat box and hit [Enter].
Can you then copy and paste the command and the error message?
zasia56
@zasia56
"```"

C:\Users\rabey>python python_intro.py
python: can't open file 'C:\Users\rabey\python_intro.py': [Errno 2] No such file or directory

C:\Users\rabey>

das-g
@das-g:matrix.org
[m]
Oh, I meant without the quotes. Just ```
But for now that's alright. This error message is readable this way.
(In others, Gitter might interpret special characters as formatting directives.)
so, did you create a file called python_intro.py?
If not, it's expected that the computer won't be able to find it.
Also, working with code files only comes much later in that chapter, in section "Save it!".
Were you able to start the python prompt in section "Python prompt"?
zasia56
@zasia56
Yeah i did, and my computer was unable to locate the file
I created a file but my computer is unable to find the file anyway
zasia56
@zasia56
Don't worry, I figured it out. Thank you!
Halleluyah
@HalleluyahSala2_twitter
Hello everyone! Please, I need to download the Django girls tutorial material to use it offline and also the Django Girls Tutorial: Extensions
Tried to check online and somehow been seeing the online ones but I need to download them so I can use them at will, please
Damien Gu
@damiengu
Hi everyone, I'm at https://tutorial.djangogirls.org/en/css/#your-first-css-file and I'm getting this error at the part where we're supposed to turn the headings to orange. My blog.css is under blog/static/css so I'm not sure why it can't find it.
"[22/Apr/2021 08:25:22] "GET / HTTP/1.1" 200 1549
[22/Apr/2021 08:25:22] "GET /static/css/blog.css HTTP/1.1" 404 1660"
Damien Gu
@damiengu
image.png
^VS Code thinks it's going to that location so something is wrong with the href code?
Raphael Das Gupta
@das-g
@zasia56 What was the cause of the problem and how did you resolve it?
Raphael Das Gupta
@das-g
@HalleluyahSala2_twitter You can download the Markdown files from which the Tutorial is composed from https://github.com/DjangoGirls/tutorial (Click the green "Code" button, then "Download ZIP") and the extensions from https://github.com/DjangoGirls/tutorial-extensions
However, that won't be rendered as nicely as our online version.
You can generate HTML-pages like on our online version using HonKit, but that is a bit advanced.
Raphael Das Gupta
@das-g
@damiengu Do you have backslashes (\) in the paths in your code? If so, try changing them to regular (forward) slashes (/).
Damien Gu
@damiengu
@das-g no I copied and pasted the entire blog/templates/blog/post_list.html which only has forward slashes. Here is the part: <link rel="stylesheet" href="{% static 'css/blog.css' %}">
Raphael Das Gupta
@das-g
Ah, OK. So that isn't the issue causing your problem then.
Damien Gu
@damiengu
Weird, I just recreated the folders and now it works? Don't know what was wrong but thank you for your help!
Halleluyah
@HalleluyahSala2_twitter

@HalleluyahSala2_twitter You can download the Markdown files from which the Tutorial is composed from https://github.com/DjangoGirls/tutorial (Click the green "Code" button, then "Download ZIP") and the extensions from https://github.com/DjangoGirls/tutorial-extensions

Thank you so much for this response. I wanted to have it on my local storage but then I will try out the HonKit you mentioned. Thank you!

Raphael Das Gupta
@das-g
In #1715 I was made aware, that the build result is actually available on the gh-pages branch, so you wouldn't need to use HonkIt locally to get a copy of the released versions.
So actually @HalleluyahSala2_twitter you can download the html pages from https://github.com/DjangoGirls/tutorial/tree/gh-pages (also green "Code" button, then "Download ZIP").
(Though not the extensions, as they're deployed in a different way.)
bobbies777
@bobbies777
Wow..