https://github.com/ging/horizon
Raw File
Tip revision: ce839aa58d32a9bd475c099f371d0e820d51f1a3 authored by Jenkins on 11 October 2014, 09:32:06 UTC
Merge "Warn OPENSTACK_QUANTUM_NETWORK setting as deprecated" into proposed/juno
Tip revision: ce839aa
HACKING.rst
Horizon Style Commandments
==========================

- Step 1: Read the OpenStack Style Commandments
  http://docs.openstack.org/developer/hacking/
- Step 2: The following names can be imported directly, without triggering the
  "H302: import only modules" flake8 warning::

    collections.defaultdict,
    django.conf.settings,
    django.conf.urls.patterns,
    django.conf.urls.url,
    django.core.urlresolvers.reverse,
    django.core.urlresolvers.reverse_lazy,
    django.template.loader.render_to_string,
    django.test.utils.override_settings,
    django.utils.datastructures.SortedDict,
    django.utils.encoding.force_text,
    django.utils.html.conditional_escape,
    django.utils.html.escape,
    django.utils.http.urlencode,
    django.utils.safestring.mark_safe,
    django.utils.translation.npgettext_lazy,
    django.utils.translation.pgettext_lazy,
    django.utils.translation.ugettext_lazy,
    django.utils.translation.ungettext_lazy,
    operator.attrgetter,
    StringIO.StringIO

- Step 3: Read on

Horizon Specific Commandments
-----------------------------

- Read the Horizon contributing documentation at http://docs.openstack.org/developer/horizon/contributing.html
back to top