Learning Django problems

41 views
Skip to first unread message

Stas soroka

unread,
Jul 29, 2015, 5:44:32 AM7/29/15
to Django users
I'm currently reading a book "Learning Django Web Development". Even thoug I followed the book carefully, it says, that my page should look like this:












When, in fact, my page looks like that:












I will be very greatful, if someone tell me, what can cause such a problem.

If it's needed - a link to my GitHub repository, with a code, that I currently have - GitHub

Avraham Serour

unread,
Jul 29, 2015, 6:10:54 AM7/29/15
to Django users

Clearly the book example is using CSS and got aren't, maybe they forgot to tell you to add or you aren't loading the static files


--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d7f386bb-16ba-473e-81ea-bab24013d251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Roshan Pannase

unread,
Jul 29, 2015, 7:21:01 AM7/29/15
to django...@googlegroups.com
sir i am a new learner  can you send me the code of this application

--

Robin Lery

unread,
Jul 29, 2015, 7:53:04 AM7/29/15
to django...@googlegroups.com

Do u have static directory? And does it have the required resources?

Stas soroka

unread,
Jul 30, 2015, 5:02:02 AM7/30/15
to Django users, robi...@gmail.com
As it turned out - the problem was in misconfigured STATICFILES_DIRS  variable. When i fixied it - everything became as it should be

среда, 29 июля 2015 г., 14:53:04 UTC+3 пользователь Robin Lery написал:

Stas soroka

unread,
Jul 30, 2015, 5:03:16 AM7/30/15
to Django users, roshan....@gmail.com
The code for this application is in my GitHub repository, link to witch i provided at the end of my original post. Look carefully ;)

среда, 29 июля 2015 г., 14:21:01 UTC+3 пользователь roshan.pannase написал:
Reply all
Reply to author
Forward
0 new messages