Tag archives: django

RSS feed of django

I tested all SaaS CI tools

Published Nov. 23, 2015 in Cloud, Deployment, Development - Last update on Nov. 23, 2015.

I really hate Jenkins for several non-objective reasons and it's not a classic hatred, more a life struggle where all episode begin by my signature on an employment contract. Most societies made the effort to open a private Gitlab but ask them to forget Jenkins and move into CI tools into SaaS is clearly unbelievable.

It is ...

Continue reading

My tox environment

Published Nov. 7, 2015 in Tests and quality - Last update on Nov. 18, 2015.

I have long refused to use tox in my Python projects, I though to test code against multiple version Python was a task which should be made by CI tools. After contribute to several projects, I learned to appreciate it when I want to test code with different aspects. I was wrong and for me ...

Continue reading

Django is 10 years

Published Oct. 27, 2015 in Development, Web - Last update on Oct. 27, 2015.

The framework is a bit old and has already crossed a little piece of the IT's history. Let's follow the resume of Django's life, its well known third applications, links with Python and related events:

Backup with Django

Published Sept. 11, 2015 in Development - Last update on Oct. 16, 2015.

Like all serious data this blog needs to be save in case of disaster and as a cloud native app it should be able to be ran in every platform and to be operational after a backup restored. A Django backup is generaly a database dump coupled with a media files copy.

Instead of use ...

Continue reading

I can't Google App Enginering my blog

Published July 26, 2015 in Cloud, Deployment - Last update on July 26, 2015.

A long time ago before Google launched Google Cloud Platform, I played with App Engine and Django. Despite of the fact you must swith from Django usual tools (Celery or ORM) to Google services like Memcache or Task Queue, I was seduced by their fast deployment system.

A standard Django app is fastly adaptable to ...

Continue reading

Unittest and reusable app

Published July 19, 2015 in Development - Last update on July 18, 2015.

You had fun, you wrote a Django third app. You should have write unittests before but you didn't know where to place them. For my case when I wrote Django Admin CLI I used the work made in Django Comments, let's explain it a little.

All testing code are stored in tests/ directory ...

Continue reading

Docker-composing my blog

Published July 5, 2015 in Docker - Last update on July 7, 2015.

As said in previous post about Docker, my blog's Docker Image is only a middleware container. It needs to be launch with a frontend, a database and optionnaly a cache. A solution for get ready to play with a full containerized architecture is docker-compose, with it I followed micro-services architecturing and only define one ...

Continue reading

Django Admin CLI

Published July 4, 2015 in Development, System administration - Last update on July 6, 2015.

I ever want to manage Django models directly from command line. In my dreams I have a curses script which have the same look and feel than Django Admin, in fact I created a CRUD application named Django Admin CLI. It is a Django third app linked to Admin's registry which allow DRY, easy ...

Continue reading

Docking my blog

Published June 10, 2015 in Docker - Last update on July 6, 2015.

In my mind the master word of Docker is Fashion. So let's docker my blog ! It is a relativy a simple webapp, perfect for test Docker and micro-service architecture.

I won't make a new explanation of what are Docker and containers. For this kind of informations see the official doc. The great things ...

Continue reading

Django settings by environment

Published May 22, 2015 in Deployment, Development - Last update on July 6, 2015.

One thing not explained in Django Doc is how to make your project to live accross environments. Some settings need to have different values when used in production or testing, and testers might want to set their own values. A clear example is I wanna use a MySQL in production and SQLite in testing.

What ...

Continue reading