I love Django, not just because it on top of Python, but more because it keeps its philosophy: All Zen of Python is respected with batteries included. The Ponies' framework has basically most tools and mechanisms a WebDev would want to have as such authentication, ORM multi-DB or template engine. But where Django becomes definitively ...
Published Sept. 1, 2016 in Development - Last update on Sept. 1, 2016.
I was working in a Django project, more precisely its settings, I stopped in front of
CACHES parameter, I love when code use an agnostic way and in Django settings I love to use
dj-database-url to configure
DATABASES, so I made the same for
CACHES: At this time
dj-cache-url was born.
I won't ...
I'm updating Django-DBBackup's documentation and don't want to copy/paste piece of code in docs, especialy commands' usages text. Fortunately optparse and argparse have the helpful parser.print_usage() method. Unfortunately there's no Sphinx plugin to simply get these outputs and include in docs. It's time to get on the job.
Django 1.10 is here ! Above its new features there are some deleted code and I came up against
optparse removing. To be honest, this module is deprecated since Python 2.7 (still here in 3.6), deprecated in Django since 1.7 and removed in 1.10.
Don't blame me too fast, I ...
Lately, I worked on Django DBBackup, I was remaking the database command system: classes allowing launching of backup or restore commands through subprocess.Popen. There was no unit tests and major part of them are based on command line but contrary to what I though mock out Popen took me a some time.
It's been several months now I release Flickr-Pony and implement a photo gallery on my website. I choosed Unite Gallery for displaying my photos, a nice JS library for create a wall of pics (or slider, or other). I firstly implement it fastly and all works perfectly, but, as usual, some improvements could be ...
Every web developer has already play with favicon.ico, the simple tag for add an icon on browser tabs or starred page. For noobies it's:
<link rel="icon" href="/favicon.ico">
But nowadays with all the existing client platforms just this tag isn't sufficient. There are Apple devices, Android, Windows (huch) for ...
As explained in previous article, I decided to store my photos on Flickr. It isn't written on the paper but's it's a quite cheap cloud solution. And like all object storage, it has a public HTTP API for automate actions. Open source communities purpose a lot of client implementation in many languages ...
I'm looking for a new job, so I need to update my resume again. As a Django Dev I should store and display these data in my blog's about page. Because I'm a geek, I chose to write a Django third application for this usage and integrate it in my blog project. Obviously this app is free on GitHub: ZuluPro/django-cv.
For those who don't want to read too much (they are a lot) the result is here: django-cv-demo.herokuapp.com/1/