Skip to content

Commit

Permalink
readme edit
Browse files Browse the repository at this point in the history
  • Loading branch information
crgwbr committed Nov 25, 2010
1 parent fbaceb8 commit 1ece147
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions README.md
@@ -1,22 +1,20 @@
#Installation Instructions
1. Copy the django_tweet directory into you Django project
2. Edit `settings.py` to include:

TARGET_HOST = 'localhost:8000' # Replace localhost:8000 with your domain
INSTALLED_APPS = (
... # Other Installed Apps before or after
'devproject.django_tweet', # Replace devproject with your project name
...
)
TARGET_HOST = 'localhost:8000' # Replace localhost:8000 with your domain
INSTALLED_APPS = (
... # Other Installed Apps before or after
'devproject.django_tweet', # Replace devproject with your project name
...
)
3. Add this to your `urls.py`
# Django Tweet
(r'^twitter/', include('django_tweet.urls')),
4. Edit `django_tweet/settings.py` to fit your prefs:
AUTH_REDIRECT = '/' # Location to Redirect to after successful auth
APP_URL_PREFIX = 'twitter' # URL Prefix set for django_tweet.urls
ALLOW_STAFF = True # Allow Staff to Auth with Twitter
ALLOW_NON_STAFF = True # Allow Non-Staff to Auth with Twitter
AUTH_REDIRECT = '/' # Location to Redirect to after successful auth
APP_URL_PREFIX = 'twitter' # URL Prefix set for django_tweet.urls
ALLOW_STAFF = True # Allow Staff to Auth with Twitter
ALLOW_NON_STAFF = True # Allow Non-Staff to Auth with Twitter
5. Run `./manage.py syncdb` to create django_tweet's tables

# Usage
Expand Down

0 comments on commit 1ece147

Please sign in to comment.