Tags » Django 2

[django] must-watch videos

Must-watch videos about Django (or about Python as applied to Django): https://github.com/rosarior/django-must-watch.

Django

[django] Heroku with GoDaddy

Problem
You put your Django project on Heroku and you register a custom domain name for it at GoDaddy. How to assign this domain name to your project on Heroku? 12 more words

Django

[django] force HTTPS on Heroku

django-sslify forces SSL on your Django site. It has an excellent documentation, can be set up in a few minutes.

I tried it on Heroku and it works well.

Django

Solving quotes issue in Templates while after using django-generate-scffolding

Error:
‘url’ requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.
Solution 1:

sed -i -r ‘s/url ([^"]+) %/url “\1″ %/g’ template.html…

21 more words
Django

[django] create a formatted string with the Django template system

Problem
In an application I wanted to send formatted HTML emails. For producing the body of the email, I wanted to use the Django template system. 75 more words

Django