Merge pull request #8 from robertour/patch-2

Calling syncdb in the usage instructions
This commit is contained in:
Tomas Babej 2014-07-19 16:47:50 +02:00
commit 74356dbd79

View file

@ -38,7 +38,11 @@ that are required. A minimal integration can work like this:
'avatar',
)
2. Add the avatar urls to the end of your root urlconf. Your urlconf
2. Update your database::
python manage.py syncdb
3. Add the avatar urls to the end of your root urlconf. Your urlconf
will look something like::
urlpatterns = patterns('',
@ -46,12 +50,12 @@ that are required. A minimal integration can work like this:
(r'^avatar/', include('avatar.urls')),
)
3. Somewhere in your template navigation scheme, link to the change avatar
4. Somewhere in your template navigation scheme, link to the change avatar
page::
<a href="{% url 'avatar_change' %}">Change your avatar</a>
4. Wherever you want to display an avatar for a user, first load the avatar
5. Wherever you want to display an avatar for a user, first load the avatar
template tags::
{% load avatar_tags %}