Commits

Gregory Petukhov committed ead36ac

Add readme

Comments (0)

Files changed (1)

+Configuration of django project
+-------------------------------
+
+Put trustlink library into python path
+Update settings.py:
+ * Add 'trustlink.django' to INSTALLED_APPS
+ * Add required settings (see below)
+ * Use following
+
+
+Usage in templates:
+
+    {% load trustlink_tags %}
+    {% trustlink_links %}
+
+
+Settings
+--------
+
+TRUSTLINK_DATA_DIR - path to directory where local database of link
+    will be stored
+TRUSTLINK_HOST - hostname of website
+TRUSTLINK_USER - ID of your trustlink.ru account
+TRUSTLINK_TEST (optional, default Fase) - explicitly set test mode