Posts under tag: "News"

Deploying Django Project at Pythonanywhere

By: summonagus ● at July 21, 2017, 6:46 p.m. ● Posted under: #APP, #Django, #News, #Project

PythonAnywhere is an online Integrated Development Environment (IDE) and Web hosting service based on the Python programming language. It provides in-browser access to server-based Python and Bash Command-line interfaces, along with a code editor with Syntax highlighting. Program files can be transferred to and from the service using the user's ...

Read More →

Top 10 Python libraries of 2016

By: summonagus ● at Dec. 24, 2016, 10:31 a.m. ● Posted under: #Module, #News, #Project

Last year, we did a recap with what we thought were the best Python libraries of 2015, which was widely shared within the Python community (see post inr/Python). A year has gone by, and again it is time to give due credit for the awesome work that has been done ...

Read More →

Djipsum already in new version 1.0.9

By: summonagus ● at Dec. 2, 2016, 4:56 a.m. ● Posted under: #Module, #APP, #Django, #News

Djipsum already in new version 1.0.9. Djipsum is awesome command plugin to generate fake content for Django. What news? Fixed ManyToManyField (return the random objects from many to many field). Fixed ForeignKey Field (return the random object from foreign field). Install:$ pip install djipsum I never test this tool with ...

Read More →

Djipsum: Plugin to generate the lorem ipsum (fake content) for django model

By: summonagus ● at Oct. 11, 2016, 4:51 p.m. ● Posted under: #Module, #APP, #Django, #News, #Project, #Solution

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. and thid Djipsum specially maded to solved it. This plugin is made using management.commands from django. InstallDjipsum is available directly ...

Read More →

Django Blog Python Learning released v.3.6 with feature autobackup

By: summonagus ● at Oct. 4, 2016, 9:28 a.m. ● Posted under: #Problem, #Database, #APP, #Django, #News, #Project

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 "Django Blog Python Learning" not use it? We need to explore and use another method, so we know what we ...

Read More →

Change backend gmail to Postmarkapp for Django

By: summonagus ● at Oct. 2, 2016, 5:11 p.m. ● Posted under: #Settings, #Module, #Django, #News, #Project, #API, #Solution

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 KeysRegister and put your server API token here: https://account.postmarkapp.com/servers/101010/credentials . 101010 is id of your server.Makesure verified your SPF and DKIM. ...

Read More →

How to Build Simple Django HIT Counter

By: summonagus ● at Oct. 2, 2016, 8:13 a.m. ● Posted under: #Tricks, #Problem, #Django, #News

How to Build Simple Django HIT Counter. Good night everybody, this night I wanna show how to build simply django hit counter for post. This method is what we doing in this Django Blog Python Learning. This problem was asked for somebody in stackoverflow, but some different method, actually the ...

Read More →

Python 2.7 tricks

By: summonagus ● at Oct. 2, 2016, 8:13 a.m. ● Posted under: #Tricks, #Problem, #News

Python 2.7 tricks. Good morning pythonist and welcomeback again, btw, In programming there is art or some tricks to build a awesome program. And this is some python tricks from blog of Delimitry, thankyou so much for it. 1. map() with an initial argument of None is similar to zip(): >>> a = (1,) >>> ...

Read More →

Demo PQS Affiliate v.2 by Summon Agus, ordered from PQS Publishing

By: summonagus ● at Oct. 2, 2016, 8:13 a.m. ● Posted under: #APP, #Django, #News, #Project

Hello there, this night i just wanna share my last project, it is PQS Affiliate v.2 ordered from PQS Publishing. Powered by Django.

Read More →

New feature for output post with json format for Django Blog Python Learning v2.1.1

By: summonagus ● at Oct. 2, 2016, 8:13 a.m. ● Posted under: #Templates, #Django, #News, #Project

New feature for output post with json format for Django Blog Python Learning v2.1.1 1. Add new function in your blog/models.py to outputing post with json format. (for complete script, checkout this: https://github.com/agusmakmun/Django-Blog-Python-Learning-v.2/commit/96657b82ab1dd48c74bfdf9c1af2bb12e8b07f6d) def json_default_post(self): domain = 'https://python.web.id' cover_url = '' if self.cover.url: cover_url = self.cover.url else: cover_url = cover_url return dict( ...

Read More →