Cansada de ser feliz

Bienvenidos a mi flujo de conciencia

Django templates: render an array in two columns using Bootstrap grid

| Comments

Generate .zip file in Django

| Comments

A view that creates a .ZIP file of multiple files and returns it in response:

Django: python-social-auth configuration and pipeline to get users information

| Comments

python-social-auth configuration and pipeline to get users email, full name and save avatar for Facebook, Twitter, LinkedIn and Google in Django.

Useful Chorme extentions

| Comments

JSONView

Validate and view JSON documents. https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc

Postman - REST Client

https://chrome.google.com/webstore/detail/fdmmgilgnpjigdojojpjoooidkmcomcm

Evernote Web Clipper

Use the Evernote extension to save things you see on the web into your Evernote account. https://chrome.google.com/webstore/detail/pioclpoplcdbaefihamjohnefbikjilc

GistBox Clipper

Save code snippets from anywhere on the web. Companion extension to GistBoxApp.com. https://chrome.google.com/webstore/detail/cejmhmbmafamjegaebkjhnckhepgmido

XV — XML Viewer

Powerful XML viewer for Google Chrome https://chrome.google.com/webstore/detail/eeocglpgjdpaefaedpblffpeebgmgddk

LiveReload

https://chrome.google.com/webstore/detail/jnihajbhpnppcggbcgedagnkighmdlei

MEL Script (Autodesk Maya): Go through hierarchy

| Comments

Add a prefix myPrefix_ to all child elements of the joint joint1:

How to add a custom button to admin change list view id Django

| Comments

How to raise a form invalid event inside form_valid method of a FormView

| Comments

How to raise form invalid inside form_valid method of a FormView (CreateView/UpdateView) and add an error message to non_field_errors

How to pass a variable from form to view in Django

| Comments

Sometimes there is a need to pass a variable (parameter) from a FormView (for example, CreateView, UpdateView) to a form (for example, ModelForm).

Let’s suppose that we want to use a value of other_variable from a view MyCreateView in MyForm:

Cómo cocinar borsh (o esa sopita rusa roja)

| Comments

Primero, toca sobreponerse, ir al supermercado y tratar de aguantar esa muchedumbre. Y, por supuesto, comprar los siguientes ingredientes:

  • 4 tubérculos de papa
  • 200 g. de repollo
  • perejil y/o hinojo
  • aceite vegetal (más o menos 3 cucharas)
  • sal
  • 2 remolachas
  • 1 zanahoria grande
  • 3 tomates o pasta de tomate