All Posts Create a Post  
0
votes
193
views
Django Blog Python Learning released v.3.6 with feature autobackup
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Previously, the Django already has a method to backup the database to the json file with quick command: $ ./manage.py dumpdata --format=json > outfile.json Yup, with dumpdata. But why this …

105 2 2 0
0
votes
181
views
Quick to understanding git step by step
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Quick to understand git step by step. Git is a version control system that is used for software development and other version control tasks. As a distributed revision control system …

105 2 2 0
0
votes
189
views
Create Command Line interfaces with Python
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Building command line programs has been a long time passion of mine. There’s something magical about making a simple, intuitive, and composable CLI. There’s also nothing more beautiful than chaining …

105 2 2 0
0
votes
183
views
Django: Redirect HTTP to HTTPS
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Django: Redirect HTTP to HTTPS, basically the Django already support to handle this redirection at https://docs.djangoproject.com/en/dev/topics/security/#ssl-https Edit in your settings.py # Redirecting from `HTTP` to `HTTPS` for Django 1.8 or …

105 2 2 0
0
votes
175
views
Understanding Google reCAPTCHA in Django
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Understanding Google reCAPTCHA in Django. I found this awesome answer to simply understand how to use API from Google reCAPTCHA. import urllib, urllib2 def recaptcha(request, postdata): rc_challenge = postdata.get('recaptcha_challenge_field', '') …

105 2 2 0
0
votes
203
views
Djipsum: Plugin to generate the lorem ipsum (fake content) for django model
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Djipsum Plugin to generate the lorem ipsum (fake content) for django model. Sometimes, I feel bored when i want to create many contents such as fake content in once time. …

105 2 2 0
0
votes
174
views
Simply how to fix .rst (reStructuredText) for PyPi
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Hello guys, this night i want to share simply tutorial how to fix .rst (reStructuredText) format for PyPi. This problem simple but important. previously, i was confused to handle this …

105 2 2 0
0
votes
337
views
How to implement the ForeignKey for multi databases Django
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

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 …

105 2 2 0
0
votes
342
views
Step by step how to use multiple databases with database routers in Django
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

1. Please create a new superuser for the second/default/current database. Because you will getting this issue that i already asked before: https://gitter.im/django/django?at=5810b0b5806316005dc11f46 i use multiple site, multiple env, multiple project, …

105 2 2 0
0
votes
210
views
Django Contact Form Widget
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

Django contact widget is once of plugin i already released. This is simple contact widget plugin for Django. inspired from https://github.com/ubernostrum/django-contact-form, but made more simple and easy to use. Demo …

105 2 2 0
  Page 10 of 11