EatEmAll / django-djeddit

Minimalistic Reddit clone developed as a Django reusable app
http://eatemall.pythonanywhere.com
Other
42 stars 13 forks source link

How to change and theme djeddit app? #6

Closed Zerokami closed 6 years ago

Zerokami commented 6 years ago

I want to change the theming and also the layout of the template.

I also want to change login and signup links.

I am currently cloning djeddit and modifying the base.html and doing python setup.py install. Is there a better way?

Zerokami commented 6 years ago

Copy or download the base.html from djeddit source and paste it in template or a subdirectory in templates.

Now set the following variable in settings.py to the path of base.html relative to the templates folder.

I have placed base.html in templates/djeddit/.

So I do DJEDDIT_BASE_TEMPLATE = "djeddit/base.html"