forked from johnboxall/django-mobileadsense
MyApartmentMap/django-mobileadsense
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Helpers for using Google AdSense for Mobile in a Django app. USAGE: 1) Add `adsense` into your INSTALLED_APPS: INSTALLED_APPS = [..., "adsense", ...] 2) Display an ad: from adsense.adsense import adsense def view(request): adsense_publisher_id = "get-from-google" ad = adsense(request, adsense_publisher_id, timeout=1, fail_silently=True) return HttpResponse(ad) 3) Or in a template: {% load adsense_tags %} <p>Fabulous content.</p> {% adsensemobile "adsense_publisher_id" %}
About
Django utilites for using Google AdSense for Mobile.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%