Permalink
Browse files

Makefile to create RST file for PyPi on sdist, version bump

  • Loading branch information...
1 parent 040515e commit 072daeb03073e69f06dc9b831e0e375d8b49c8d6 @flashingpumpkin flashingpumpkin committed Apr 14, 2011
Showing with 18 additions and 19 deletions.
  1. +7 −0 Makefile
  2. +10 −18 README.rst
  3. +1 −1 setup.py
View
@@ -0,0 +1,7 @@
+all:
+ @echo "Nothing to do"
+
+sdist:
+ @pandoc README.md -t rst > README.rst
+ python setup.py sdist
+
View
@@ -56,11 +56,12 @@ Configuration
return render_to_response('login.html',
{}, context_instance = RequestContext(request))
+5. Once you're done, and configured, etc, don't forget to
+ ``python manage.py syncdb`` your project.
---------------
Facebook Connect
-~~~~~~~~~~~~~~~~
+----------------
Configuration
^^^^^^^^^^^^^
@@ -71,6 +72,7 @@ Configuration
::
+ FACEBOOK_APP_ID = ''
FACEBOOK_API_KEY = ''
FACEBOOK_SECRET_KEY = ''
@@ -99,10 +101,8 @@ structure as possible to not impact the load time of the page.
Also make sure you followed the steps to include a
``RequestContext`` in your template that is using these tags.
---------------
-
Twitter
-~~~~~~~
+-------
Configuration
^^^^^^^^^^^^^
@@ -139,19 +139,15 @@ Usage
Same note here. Make sure you're serving the page with a
``RequestContext``
---------------
-
OAuth
-~~~~~
+-----
Check out how the Twitter authentication works. Basically it's just
plugging together some urls and creating an auth backend, a model
and a view.
---------------
-
OpenID
-~~~~~~
+------
Configuration
^^^^^^^^^^^^^
@@ -172,10 +168,8 @@ Usage
{% openid_form %}
---------------
-
Logging users out
-~~~~~~~~~~~~~~~~~
+-----------------
You can use the standard ``{% url auth_logout %}``. Alternatively
there is also ``{% url social_logout %}`` which is basically a
@@ -192,10 +186,8 @@ like this:
Or redirect them to the provider they logged in from.
---------------
-
-Settings
-~~~~~~~~
+Additional Settings
+-------------------
::
View
@@ -3,7 +3,7 @@
METADATA = dict(
name='django-socialregistration',
- version='0.4.3',
+ version='0.4.4',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',

0 comments on commit 072daeb

Please sign in to comment.