All Posts Create a Post  
0
votes
132
views
Free SMS Sender using smsmasking
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

Free SMS Sender using smsmasking - API Documentation of smsmasking only available for PHP and JavaScript using POST method, in this post i wanna share simply how to use API …

101 1 1 0
0
votes
138
views
How to minify HTML output in Django
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

So, you want to compress the size of the HTML that Django generates? Here is the Django way to do it. In order to do this, you’ll have to write …

101 1 1 0
0
votes
127
views
E11000 duplicate key error index in mongodb
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

E11000 duplicate key error index in mongodb. I found this error after migrating my field from “unique” to “non-unique”. And in this problem we use mongoengine for flask. First, i …

101 1 1 0
0
votes
128
views
Custom redirect urls django
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

Example in this problem we need redirect the url http://localhost:8000/a/b/C/123/4/5/ to http://localhost:8000/abC12345 without / slash. 1. In your views.py from django.http import HttpResponse from django.views.generic.base import RedirectView from django.core.urlresolvers import …

101 1 1 0
0
votes
139
views
Change backend gmail to Postmarkapp for Django
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

1. Install module of Python Postmark Install this module manually from souce inside your environtment: https://github.com/themartorana/python-postmark If you work on Django==1.9.*, requirements only mock. 2. Register and Put the Server …

101 1 1 0
0
votes
134
views
Remove all files .pyc with recrusive method
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

Remove all files .pyc with recrusive method - This method simple but important. Example in your project dir is like this: project_dir/ __init__.py __init__.pyc something.py something.pyc ... core/ __init__.py __init__.pyc …

101 1 1 0
0
votes
140
views
How to make cronjob for Django in Hosting, VPS or Server
Posted at 2 weeks ago / Oct. 11, 2020, 8:04 a.m.

How to make cronjob for Django in Hosing, VPS or Server. This config also what we do in this site. For example, in your file of /yourproject/yourapp/management/commands/autobackup.py from django.core.management.base import …

101 1 1 0
0
votes
146
views
Django Blog Python Learning released v.3.6 with feature autobackup
Posted at 2 weeks 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 …

101 1 1 0
0
votes
136
views
Quick to understanding git step by step
Posted at 2 weeks 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 …

101 1 1 0
0
votes
145
views
Create Command Line interfaces with Python
Posted at 2 weeks 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 …

101 1 1 0
  Page 9 of 11