django-panorama

Show panoramic photos in Django
Download

django-panorama Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Maider Likona

django-panorama Tags


django-panorama Description

Show panoramic photos in Django django-panorama is a Django app that provides integration of jQuery virtual tour in Django.One model stores panoramic photo while a number of other models represents clickable areas in the panorama. Included areas can show HTML block (using tinymce) or display another url in a iframe.gisa.buildingmaps integrates with this application giving one extra area to allow navigating locations (virtual tour experience).Installation: * Install django-panorama egg with pip, buildout, or whathever * Add 'panorama' to your INSTALLED_APPS * Add panorama urls to your project urls: (r'^panoramas/', include('panorama.urls')), * Run syncdb * Overwrite panoramas default template: templates/panorama/base.htmlThis app uses django-multilingual. For this to work, you need to define available languages in your settings.py. Example:LANGUAGES = ( ('en', 'English'), ('eu', 'Euskara'), ('es', 'Castellano'),)DEFAULT_LANGUAGE = 1 # for django-multilingual, set first language (eu) as defaultUsage:To show a panorama model in templates: {% load panorama %} {% show_panorama panorama_object %}You can also define a starting position to the panorama, in pixels from the right: {% show_panorama panorama_object 100%} Requirements: · Django · Python What's New in This Release: · Fix fixtures and tests · Renamed templatetags panorama -> panoramas to avoid conflict · Code cosmetics, docstrings


django-panorama Related Software