Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:geany_and_django [2013/01/10 03:23] – Add blurb about Twig/Symfony2 filetype extension detection codebrainzhowtos:geany_and_django [2013/10/19 14:30] – Add section "Live Preview in Geany" enrico
Line 99: Line 99:
 ===== Tags ===== ===== Tags =====
 Tags for django (version 1.4.1) can be found [[http://wiki.geany.org/_media/tags/django1.4.1.py.tags|here]]. For information on using tag files, see the [[http://www.geany.org/manual/current/index.html#tags|Tags section]] of the [[http://www.geany.org/manual/current/index.html|Geany User Manual]]. Tags for django (version 1.4.1) can be found [[http://wiki.geany.org/_media/tags/django1.4.1.py.tags|here]]. For information on using tag files, see the [[http://www.geany.org/manual/current/index.html#tags|Tags section]] of the [[http://www.geany.org/manual/current/index.html|Geany User Manual]].
 +
 +===== Live Preview in Geany =====
 +
 +Using the great //Web helper// plugin (from the [[http://plugins.geany.org|Geany-Plugins]] package)
 +you can view and test your site directly in Geany without switching to an external browser.
 +
 +Simply enable the //Web helper// plugin in Geany's plugin manager dialog, open it preferences dialog
 +and enable the option "Browser auto reload" (to automatically reload the page when you save a file in Geany).
 +
 +Then you will get a new tab "Web preview" in the left message window (or whereever you configured the plugin
 +to show up) and you can enter any weg page address, e.g. those of your currently edited Django project.
 +Below is a screenshot demonstrating the plugin: the opened web page on the left, the template code on the right
 +and in the terminal window at the bottom, Django's runserver command is running:
 +
 +{{ :howtos:geany_webhelper_django.png?550 |}}
 +
 +This way you can edit your Django and template code in Geany as usual and have it automatically shown
 +as web page in the //Web helper// plugin without the need of switching to an external browser, and
 +the Django debug server can also be ran in Geany, using the embedded terminal.
 +
  
 ===== Twig/Symfony2 Support ===== ===== Twig/Symfony2 Support =====
Print/export