Category: Django

Page:  
  • 1
  • 2
Oct
24

Be Your Own DJ: Build an API and Win

Create an API with Djmongo for a chance to win a new turntable and 3 Vinyl Records! You don’t have to use the Amazon Machine. . .

Nov
4

Certificate Authority Management System for Direct

The management software that runs the certificate authority (CA) at DirectCA.org, or more precisely console.directca.org, is now open source. “vcert” is a web-based application written. . .

Aug
7

Redirect to another URL in Django urls

Things have changed a bit in Django 1.5 with respect to how redirects work without writing a view. In Django 1.5, you must use “RedirectView”,. . .

Oct
17

A Collection of Handy Django Authentication Backends

This blog entry desribes three Django Authenticaon backends you can use instead of the default “django.contrib.auth.backends.ModelBackend”. Below is a brief description of each. EmailBackend –. . .

Aug
25

Get the Latest Object or a 404 in Django : get_latest_object_or_404

The get_object_or_404 is a handy Django shortcut. It keeps my views shorter. In my case however, I had the need to get the latest object.. . .

Jul
28

Fun with Framingham

Hot off the presses is an open source implementation of the Framingham 10 Year Heart Attack Risk Calculator. This software package consists of a command-line. . .

Oct
14

Fetching Django’s Model’s ‘verbose_name’ and/or Form’s ‘label’ Attribute

Problem: You want to display some information in a database record in Django, but you also want to display the field’s verbbose name.  In other. . .

Jul
20

Django Production Deployment: How to Make Apache2 mod_wsgi and virtualenv for Python Play Nice

Problem: You are a good little Python developer and you use virtualenv in your Python development.  If you aren’t using virtualenv you’re doing it wrong.. . .

Mar
29

How to Create a Geospatial Query with maxDistance in MongoDB using Python

My company (Videntity) has been providing support to the Earth Institute (Columbia University). One of the tasks is to build a geospatial web service for. . .

Mar
13

Postgresql Setup on Ubuntu 10.10

Here is a little cheat sheet for getting Postgress setup on Ubuntu and creating an initial database and dtabase user.  this will work if you. . .

Page:  
  • 1
  • 2