summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorRocky Meza <rocky@fusionbox.com>2014-02-01 18:22:17 -0700
committerRocky Meza <rocky@fusionbox.com>2014-02-01 19:05:04 -0700
commit2a53a7abd1ddba02c44b81a24305b03532b45fee (patch)
tree6b009211aa1eb8355464dcf0e765b076207fa778 /README.rst
downloaddjango-pyscss-2a53a7abd1ddba02c44b81a24305b03532b45fee.tar.gz
django-pyscss - use PySCSS in Django more easily
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..cb82ae5
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,24 @@
+django-pyscss
+-------------
+
+A collection of tools for making it easier to use PyScss within Django.
+
+.. class:: django_pyscss.scss.DjangoScss
+
+ A subclass of :class:`scss.Scss` that uses the Django staticfiles storage
+ and finders instead of the filesystem. This obseletes the load_paths
+ option that was present previously by searching instead in your staticfiles
+ directories.
+
+ In DEBUG mode, DjangoScss will search using all of the finders to find the
+ file. If you are not in DEBUG mode, it assumes you have run collectstatic
+ and will only use staticfiles_storage to find the file.
+
+
+Running the tests
+=================
+
+You first have to run `./manage.py collectstatic` before you can run the tests
+for the first time. After that, you can just run::
+
+ $ python setup.py test