1
votes
106
views
Deploy Django at Heroku
posted at March 16, 2019, 8:31 a.m. - 5 months, 1 week ago

1. Install heroku cli https://devcenter.heroku.com/articles/heroku-cli 2. Add Procfile to your project, and add this command below: $ cd yourenv/yourproject/ $ vim Procfile # then, add this command below to the …

server django python project
0
votes
93
views
How to implement the ForeignKey for multi databases Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 1 month ago

Previously i had confused how to handle this problem, this problem also already asked by someone on stackoverflow (Cross Database foreign key error) and has the best answered by someone …

0
votes
31
views
Creating a django logs with mongodb
posted at July 18, 2019, 11:24 a.m. - 1 month, 1 week ago

Previously, you need to install the mongodb first before using this django mongodb log; This installation is for Ubunntu 16.04 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 echo "deb http://repo.mongodb.org/apt/ubuntu …

0
votes
43
views
How to fix the XSS injection on Django
posted at July 30, 2019, 3:07 p.m. - 3 weeks, 6 days ago

In django, I think the better way to handle the XSS injection is when you save the object. It is inside your models.py, and using strip_tags If value is "<b>Joel</b> …

0
votes
19
views
django address model
posted at Aug. 12, 2019, 4:34 p.m. - 2 weeks ago

Django Address Model ‘ ‘ django abstract model that provide the complete address, eg: no, na/rt, ca/rw, village/desa, sub district/kecamatan, district/kabupaten, province, country, postal code, currency code, phone code, etc. …

project app news django