Two forms one view in django
This post is a reference for myself how to do a simple thing like rendering two forms in one view using django framework.How will it be working? The idea is very simple. There will be only one view to...
View ArticleDjango application with puppet- part one
This post is a quick tutorial how to provision geodjango application using puppet. While writing this tutorial I have taken the approach that I start with running code and then refactor this to...
View ArticleDjango application with puppet- part two
I end first post at the moment of pulling code from git. This text is how to setup additional stuff for geodjango application.It's a good practice in python word to have isolated environments per...
View ArticleDesign by contract in python- part one
What exactly is design by contract? What is good and what is bad in this approach? What are python libraries that provide support for such design? You can find all these answers in this blog series...
View ArticleDesign by contract in python- part two
Last time I wrote about py.contracts- today is the time for another python library that helps to design by contracts.This library is called zope.interface. From its GitHub page: Interfaces are a...
View ArticleDesign by contract in python- part three
I covered py.contracts and zope.interface, now it's time to write about abc module from python standard library.I wanted to write about another library dpcontrancts, but unfortunately, I wasn't able to...
View ArticleFactory pattern in python
What is factory pattern all about? It introduces abstraction. In other words: helps software developers with the problem of creating objects without knowing exact class of the object that will be...
View ArticleMy thoughts on blogging
This week I decided to write something more about what are reasons I wrote this blog, what I am taking from it so if you want some more technical post please check other articles.Table of Contents:What...
View ArticleMakefiles in python projects
When I join my current company I saw in their git repos strange file. It wasn't used by any python code. It just sits in the main directory of the project. I asked my colleagues what is this file for?...
View ArticlePython & WebDAV- part one
I must confess I was ignorant. Recently I saw an application done by my colleague at work and it was using python WebDAV client. I was intrigued because for me WebDAV was connected with calendars...
View ArticlePython & WebDAV- part two
In the last post, I set up owncloud with WebDAV server. Now it's time to use it.Table of Contents:Python WebDAV client - easywebdavWebDAV editorConclusionPython WebDAV client - easywebdavI was...
View ArticleArchives from memory- libarchive
This blog post is about python wrapper around libarchive and how to use it to generate archive from memory.Table of Contents:Libarchive & python-libarchive-cAdd entry from memoryLibarchive &...
View ArticleJSON Web Tokens in django application- part one
Recently I attended a workshop about web security. During these hours I learnt quite a lot but one thing got my attention- JWT. Based on that I decided to write a blog post series about how to use JSON...
View ArticleMicroservices in Flask
I recently gave a talk about microservices in Flask onWrocpy. This blog post is a translation of that talk into English.Table of Contents:Monolithic applicationFlask...
View ArticlePyConPL 2016
This weekend I was on PyConPL conference. This is a short relation from this event.Table of Contents:Day 1Day 2Day 3Day 4Day 1I was on a presentation by Marcin Bardź PostgreSQL i SQLAlchemy Duet...
View ArticleJSON Web Tokens in django application- part two
In this blog post, I will deal with creating simple Django application for creating tasks using django rest framework.From this blog post, you can learn how to setup basic DRF application.Table of...
View ArticleJSON Web Tokens in django application- part three
As we have working application now it's high time to make it more secure by authenticating users. To do this I will use JSON Web Tokens.Table of Contents:JWT in Django Rest FrameworkImplementing JWT in...
View ArticleDjango Under The Hood 2016 recap
From the beginning I really wanted to contribute to Django. I asked a friend of mine- "Do you know where I can start contributing?" She answers- "Go to Django Under The Hood". So I went. This is my...
View ArticleJSON Web Tokens in django application- part four
When I started this series I have got one comment from my co-worker that instead of authentication JWT can be used to sign one time links. After reading through the documentation I found that can be a...
View ArticleDjango Grils- Kraków #3
As I said many times on this blog I really like teaching others so I can improve myself. That's why when I heard about Django Girls Kraków I didn't hesitate and I joined this event as a coach. This is...
View Article