Yorgos Pagles avatar Yorgos Pagles committed a9037dd

Fixing identation in readme.rst

Comments (0)

Files changed (1)

 Currently it can be installed from the repository::
 .. code-block:: bash
     pip install -e hg+http://bitbucket.org/pagles/django-email-services#egg=django-email-services
 Add the 'email_services' application to your installed apps and set the following in your settings file:
 .. code-block:: python
 	EMAIL_BACKEND = 'email_services.backends.BackendName' # Replace BackendName with CritsendEmailBackend or PostmarkEmailBackend
 To run the tests clone the repository, navigate to the test_project folder and (preferably after creating a virtual environment) run::
+.. code-block:: bash
 	pip install -r requirements.txt
 	python manage.py test email_services
 With the requirements installed from inside the test_project folder you can test the functionality:
 .. code-block:: bash
 	python manage.py shell
 .. code-block:: python
 	from django.conf import settings
 	from django.core.mail import send_mail
 	settings.EMAIL_BACKEND = 'the backend you'd like to use'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.