Skip to content

Commit

Permalink
fix for slug importing
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Apr 14, 2012
1 parent dd7e7e3 commit b349e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/managers.py
Expand Up @@ -231,7 +231,7 @@ def create_and_update_from_json_data(self, d, user):
for lang, body in d['title']:
lang_ctype_content[(lang, 'title')] = body
for lang, body in d['complete_slug']:
lang_ctype_content[(lang, 'slug')] = s.rsplit('/', 1)[-1]
lang_ctype_content[(lang, 'slug')] = body.rsplit('/', 1)[-1]

from pages.models import Content

Expand Down

0 comments on commit b349e2e

Please sign in to comment.