~speakman/ppvalbok/trunk

« back to all changes in this revision

Viewing changes to swevote/context_processors.py

  • Committer: Lars Luthman
  • Date: 2009-04-22 17:00:57 UTC
  • Revision ID: lars.luthman@gmail.com-20090422170057-jyl8006nmci7epli
Moved votesys to swevote, moved all non-static data to the new app ballot_system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
def googlemaps (request):
 
2
    from django.conf import settings
 
3
    return {
 
4
        'googlemaps_key': settings.GOOGLE_KEY,
 
5
        'googlemaps_script': '<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false;&amp;key=' + settings.GOOGLE_KEY + '" type="text/javascript"></script>',
 
6
        }