On Mon, Apr 25, 2016 at 08:49:47AM -0700, gu99r...@student.chalmers.se wrote: > Ok, I looked at the tutorial page more closely. When you look at the code, > it looks like there is a space after the minus sign, especially when you > mark text. But if I copy and paste the text into some arbitrary text > editor, there is no space after the minus. When I follow the tutorial, I > prefer to type everything manually by hand as I believe I learn more > efficiently that way.
Oh, that's unfortunate, typing all samples manually instead of blindly copy-pasting is certainly encouraged. The docs use a webfont for them, so they are supposed to look the same everywhere, and with the default “Fira Mono” it doesn't look like there's a space. I'm curious – could you share a screenshot of what the code samples look like in your browser? Could you also look in the developer tools of your browser what font is actually being used? (In Chromium-based browsers, you have to inspect the element containing the string, open the computed styles, and it will show you what font was used.) > When using "/polls/{{ question.id }}/" it doesn't work for me. In fact, the > url turns into "http://127.0.0.1:8000/polls/polls/..." on my local host. That shouldn't happen – are you sure that you used "/polls/{{ question.id }}/", not "polls/{{ question.id }}/" without the leading slash? Cheers, Michal -- 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+unsubscr...@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/20160426072202.GN435%40koniiiik.org. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature