Commits

Anthony Menasse committed ddd0299

added rst extension so bitbucket detects the format

Comments (0)

Files changed (2)

README

-django-current-user is a tool used to store the current user on DB objects on every save. It has been tested to work in django 1.1.X.
-
-Install
-=======
-
-Download the tar.gz, extract it and run the following inside the directory:
-    python setup.py install
-
-Basic usage
-===========
-
-add the appropriate middleware::
-
-    MIDDLEWARE_CLASSES = (
-        'current_user.middleware.CurrentUserMiddleware',
-        'current_user.middleware.CreateUserMiddleware',
-    )
-
-add current_user to your INSTALLED_APPS::
-
-    INSTALLED_APPS = (
-        'current_user',
-        .
-        .
-    )
-
-
-add the fields to your models::
-
-
-    class ExampleModel(models.Model):
-
-        foo = models.IntegerField()
-        last_user = CurrentUserField(related_name="+")
-        created_by = CreateUserField(related_name="+")
-
-Tests
-=====
-
-To run the tests run the current_user/tests/runtests.py script 
-
- src/current_user/tests/runtests.py
-
-Example
-=======
-
+django-current-user is a tool used to store the current user on DB objects on every save. It has been tested to work in django 1.1.X.
+
+Install
+=======
+
+Download the tar.gz, extract it and run the following inside the directory:
+    python setup.py install
+
+Basic usage
+===========
+
+add the appropriate middleware::
+
+    MIDDLEWARE_CLASSES = (
+        'current_user.middleware.CurrentUserMiddleware',
+        'current_user.middleware.CreateUserMiddleware',
+    )
+
+add current_user to your INSTALLED_APPS::
+
+    INSTALLED_APPS = (
+        'current_user',
+        .
+        .
+    )
+
+
+add the fields to your models::
+
+
+    class ExampleModel(models.Model):
+
+        foo = models.IntegerField()
+        last_user = CurrentUserField(related_name="+")
+        created_by = CreateUserField(related_name="+")
+
+Tests
+=====
+
+To run the tests run the current_user/tests/runtests.py script 
+
+ src/current_user/tests/runtests.py
+
+Example
+=======
+