Metadata-Version: 1.1
Name: tern_django
Version: 0.1.0
Summary: Create Tern projects for Django applications.
Home-page: https://github.com/proofit404/tern-django
Author: Malyshev Artem
Author-email: proofit404@gmail.com
License: GPL3
Description: 
        .. |travis| image:: https://travis-ci.org/proofit404/tern-django.png
            :target: https://travis-ci.org/proofit404/tern-django
            :alt: Build Status
        
        .. |coveralls| image:: https://coveralls.io/repos/proofit404/tern-django/badge.png
            :target: https://coveralls.io/r/proofit404/tern-django
            :alt: Coverage Status
        
        ================================
        Tern Django |travis| |coveralls|
        ================================
        
        Create Tern_ projects for Django_ applications.
        
        Use awesome Tern_ auto-complete to develop your Django_ project with
        zero configuration.
        
        Obviously all javascript code of application stored in application
        static folder.  So we can write standard ``.tern-project`` file into
        application root if static folder exists.  We can extend this project
        looking into application templates.  We can add javascript from other
        applications or download external library from internet and make it
        accessible for tern.
        
        Installation
        ------------
        
        You can install Emacs package from Melpa_:
        ::
        
            M-x package-install RET tern-django RET
        
        Or you can install python script only from Pypi_:
        ::
        
            pip install tern-django
        
        Usage
        -----
        
        Setup your project variables and run ``tern-django`` command:
        ::
        
            M-x setenv RET DJANGO_SETTINGS_MODULE RET project.settings
            M-x setenv RET PYTHONPATH RET /home/user/path/to/project/
            M-x tern-django
        
        In case you install it as python package activate your development
        environment and run ``tern_django.py`` script.
        ::
        
            . /path/to/project/virtual_env/bin/activate
            export DJANGO_SETTINGS_MODULE=project.settings
            export PYTHONPATH=/path/to/project
            tern_django.py
        
        Contributing
        ============
        
        Attach ``tern_django.py`` output with debug option enable to any bag
        report.  You can customize ``tern-django-debug`` variable within
        Emacs.  Or directly run script with ``--debug`` option.
        
        Known issues
        ============
        
        If script randomly fails with following message:
        ::
        
            OperationalError: database is locked
        
        Check that your ``sqlite`` installation was compiled with
        ``HAVE_USLEEP`` flag enabled.
        
        .. _Tern: http://ternjs.net
        .. _Django: https://www.djangoproject.com
        .. _Melpa: http://melpa.org
        .. _Pypi: https://pypi.python.org/pypi
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Text Editors
Classifier: Topic :: Text Editors :: Emacs
