skip to navigation
skip to content

django-dfp 0.1.2

DFP implementation for Django

Latest Version: 0.4.1

Django Simple Autocomplete

App that provides tags to fetch Google DFP ads in a single request.


Google provides server side adds via its DFP service. This product is inspired by the code at To keep the Django implementation as simple as possible this product changes the order of the Javascript from that page.


  1. Install or add django-dfp to your Python path.
  2. Add dfp to your INSTALLED_APPS setting.


Load dfp_tags in your template, eg. {% load dfp_tags %}. Call {% dfp_header %} once in the HEAD of your template.

An example tag is

{% dfp_tag “/1234/travel” 300 250 “interests” “sports” “music” %}

You may call as many tags as you want. See for more examples.


Praekelt Foundation

  • Hedley Roos



  1. Remove async script loading since it does not work.


  1. Allow variables to be passed as arguments to the template tag.


  1. First release.
File Type Py Version Uploaded on Size
django-dfp-0.1.2.tar.gz (md5) Source 2013-01-31 5KB
django_dfp-0.1.2-py2.7.egg (md5) Python Egg 2.7 2013-01-31 5KB
  • Downloads (All Versions):
  • 30 downloads in the last day
  • 507 downloads in the last week
  • 2006 downloads in the last month