lp:~eopadoan/django-wikiapp/rcsfield_support
Experimentaly switch the revision control to django-rcsfield and see what happens :)
- Get this branch:
- bzr branch lp:~eopadoan/django-wikiapp/rcsfield_support
Branch merges
Branch information
Recent revisions
- 149. By Eduardo de Oliveira Padoan
-
Made Article.content a RcsTextField, added a RevisionManager and removed ChangeSet. Tested with bzr backend only, yet. No changes to the views where made yet. To test:
- Add 'rcsfield' to the INSTALLED_APPS setting
- Add RCS_BACKEND (eg 'bzr') and BZR_WC_PATH (the path to the bzr working tree, eg '.') to settings.py -- both settings are undocumented on django-rcsfield
- Run syncdb
- Add a Article on admin and change it later some times
- Text the api on a shell:
a = Article.objects. get()
a.get_content_revisions( )
[3, 2]
for x in a.get_content_diff(3, 2): print x TODO:
- Adapt the views
- Use the {% historytrail %} template tag - 148. By jtauber
-
use the correct context object, observed, for observed object wiki_observed_
article_ changed teaser template - 147. By jtauber
-
added force_insert and force_update to save() to get wikiapp working with Django 1.0
- 145. By Eduardo de Oliveira Padoan
-
Create a new changeset when reverting to a revision -- merging for real this time
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)