Talk Review: Building a RESTfull API Using Django

April 14, 2014, 5:28 p.m.

Talk Review: Building a RESTfull API Using Django

Some days ago I gave a talk on how to create REST APIs using Django Rest Framework, the idea was to share some of the things we've learned and our experiences developing API's.

I'd like to share some of the insights of the talk, the slides and other useful resources to get started developing API's.

Read more

April 10, 2014, 10:12 a.m.

How to use GenericForeignKey in Django

Sometimes, when the solution of the problem is associated with certain... uhm... difficulties, especially when you are still in the process of solving the; and after a splendid victory, comes the natural desire to tell the world what was actually needed be done. So let's look at how to deal with GenericForeignKey in Django ...

Read more

April 7, 2014, 9 a.m.

Why you should use django-extensions

Working with Django is so cool, for example if you are dealing with repetitive and common tasks between projects you will be supported by a very active open source community working on third party apps to make your life easier as a developer. There are many libraries for many purposes, one of them is django extensions which is one of my favorites because it will help you with:

  • Having a shell with all your models preloaded so you can use them pretty fast, see shell_plus.
  • Generate an image of your models so you can tell how big and complex is your project, see graph_models.
  • Use a very cool debugger when you are developing, see runserver_plus.
  • Sync your files between your django project and your S3 bucket, see sync_s3.

This is just a small list of commands supported by django extensions, it is very handy to have this library among your django apps, but the most cool thing about it is to have a very well maintained library on github with hundreds of thousands using it.

Check it out:

April 4, 2014, 3:29 p.m.

Beginners Introduction To Sublime Text Code Snippets

One the things we as developers expend most of our time on is our text editor and the more comfortable we feel using it, the better. Because of this premise, a bunch of packages and plug-ins have been created, they include themes, color schemes, snippets, integrations and more.

In this article, we want to show you how to improve your productivity by using snippets in  Sublime Text. Snippets are pieces of code that you can refer to with a keyword, so for example if while developing you type hundreds of console.log's, a snippet can come in handy, as with it, you can bring this instruction by typing a keyword you define, like cl, log or other you prefer followed by tab.

Read more

March 28, 2014, 4:10 p.m.

Enable Perfect Forward Secrecy for nginx

Recently there have been some security concerns about SSL enabled sites, here I will show you how to make your site stronger to bad people by limiting the requests a user can make and enabling Perfect Forward Secrecy.

Read more

March 27, 2014, 10:53 p.m.

Getting Started With Django Rest Framework

When developing web applications, sometimes we need to abstract the way we interact with data, so that we can access it and modify it easily and have a it available to be consumed from different devices and other applications.

A web API, is exactly that, it's a set of defined requests and responses that allow us to communicate with a server, consume and edit the data it offers.

Read more

March 24, 2014, 9:28 a.m.

How to use mixins to process a form in Django

Django is a quite powerful Python framework, but unfortunately it doesn't offer any solutions to process forms that work with AJAX: to send the data to server and return the list of errors if the data didn't pass the validation.

Read more

1 of 10 interviewed are hired in AxiaCore

Build my idea

March 19, 2014, 5:22 p.m.

Mathematical expression evaluator in python

In this post we will take look at how to parse and execute mathematical expressions in python.

Read more

March 13, 2014, 3:45 p.m.

Basic steps to publish a python package

I was interested in publishing some utility code we use on a daily basis, we were always download the file and added into the projects, making us hard to keep it updated as the amount of projects grow. In order to have a simple package we can use I will show you how to publish on Pypi.

Read more

Feb. 21, 2014, 3:31 p.m.

Django and haystack-part I


You can use Haystack to index and search for text in any field in any of the models you have defined in your project.

Haystack doesn't perform the search per se; it works as a bridge between the information in your models/queries in your search forms, and a text search engine/backend. We will show here how to configure Haystack to search in different fields of a single model, using Solr as the search backend.

Read more

Who we work with

  • OndadeMar
  • Crepes y Waffles
  • MinTIC

New York

50 West. 72nd Street. NY 10023
+1 646 688 2356


145-157 St John Street. EC1V 4PW
+44 07751 092 425


Cll 100 # 14 - 63 OF 801
+57 (1) 7047348 | +57 (1) 2360310