0
votes
9
views
How to create a database view in Django
posted at Sept. 17, 2019, 10:25 a.m. - 1 day, 10 hours ago

A database view is a searchable object in a database that is defined by a query. Though a view doesn’t store data, some refer to a views as “virtual tables,” …

0
votes
10
views
Django ORM Optimization Tips
posted at Sept. 15, 2019, 7:01 a.m. - 3 days, 13 hours ago

When it comes to optimizing an ORM, your greatest weapon is your understanding of how your ORM works under the hood (at least at a high level). This makes understanding …

0
votes
9
views
Uploading files or images to aws s3 with django
posted at Sept. 13, 2019, 9:07 p.m. - 4 days, 23 hours ago

Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon …

aws solution module api django
0
votes
17
views
How to handle timezone (localtime) in django
posted at Sept. 12, 2019, 4:44 p.m. - 6 days, 3 hours ago

Previously, this issue I was searched how to fix this for a long time. And finally I found the best solution how to fix the timezone.localtime for django. In fact, …

0
votes
34
views
django address model
posted at Aug. 12, 2019, 4:34 p.m. - 1 month, 1 week 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
0
votes
62
views
How to fix the XSS injection on Django
posted at July 30, 2019, 3:07 p.m. - 1 month, 2 weeks 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
51
views
Creating a django logs with mongodb
posted at July 18, 2019, 11:24 a.m. - 2 months 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 …

1
votes
115
views
Deploy Django at Heroku
posted at March 16, 2019, 8:31 a.m. - 6 months 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
175
views
Martor 1.2.7 has been released
posted at July 21, 2018, 4:01 p.m. - 1 year, 1 month ago

This Martor is one of many plugin for django markdown editor. But in this case, martor still use Semantic UI for the front-end. For the previous version, martor included the …

markdown django python project
0
votes
142
views
Simple Adding Django Disqus Comments
posted at July 12, 2018, 10:13 p.m. - 1 year, 2 months ago

Simple Adding Django Disqus Comments, Disqus adalah salah satu comments plugin yang sangat populer saat ini. Selain facebook comments, google+ comments, disqus ini juga merupakan salah satu plugin favorite yang …

django python