Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    django-orienteer 0.1

    Download button

    No screenshots available
    Downloads: 199  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Drew Yeaton | More programs
    GPL / FREE
    May 17th, 2010, 11:13 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    django-orienteer description

    Django Compass App

    django-orienteer is a simple compass integration for Django.

    Orienteer is simple Compass integration for Django projects. It is the easiest way to give Compass/Sass projects first class status inside your Django project. Once you define the settings below and add template tags to your template, fire up the development server. If a CSS file seems to be out-of-date, Orienteer will run Compass to generate your CSS for you. That's all there is to it. Be sure to carefully read the instructions below for settings specifics.

    Usage:

    In your Django settings.py file, define the path to your source files. Your 'src' folder should be inside the directory you define here.

    COMPASS_PROJECT_DIR = MEDIA_ROOT + 'css/'

    Then, define the output directory. This is relative to the project directory.

    COMPASS_OUTPUT_DIR = './'

    Also, set the URL where your output files will be accessed.

    COMPASS_OUTPUT_URL = MEDIA_URL + 'css/'

    Finally, define where the compass binary is and how you want your CSS generated.

    COMPASS_BIN = '/usr/bin/compass'
    COMPASS_STYLE = 'compact'


    Next, in your template file you can reference your Sass files and the appropriate style tag will be generated.

    {% load orienteer %}
    {% compass 'my_style' %}


    This will check your Compass project's 'src' directory for the 'my_style.sass' file, compile it if necessary, and then output the following HTML tag:

    < link href='/media/css/my_style.css?1273972058.0' rel='stylesheet' type='text/css' / >

    That's it!


    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    compass integration | Django compass | Django | compass | integration

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM