Author: leidel
Date: Sun Nov  9 05:55:20 2008
New Revision: 65

Removed:
    trunk/dbtemplates/sync_templates.py
Modified:
    trunk/INSTALL
    trunk/README.rst
    trunk/dbtemplates/models.py
    trunk/docs/overview.txt
    trunk/setup.py

Log:
Removed old sync_templates.py script, use the django-admin.py  
sync_templates please. Removes unneeded code that registers the model with  
django-reversion manually. Updated docs after move from Google Code to  
Bitbucket.

Modified: trunk/INSTALL
==============================================================================
--- trunk/INSTALL       (original)
+++ trunk/INSTALL       Sun Nov  9 05:55:20 2008
@@ -12,4 +12,4 @@
  http://www.python.org/ and Django from http://www.djangoproject.com/.

  This install notice was bluntly stolen from James Bennett's registration
-package, http://code.google.com/p/django-registration/
\ No newline at end of file
+package, http://www.bitbucket.org/ubernostrum/django-registration/
\ No newline at end of file

Modified: trunk/README.rst
==============================================================================
--- trunk/README.rst    (original)
+++ trunk/README.rst    Sun Nov  9 05:55:20 2008
@@ -50,6 +50,6 @@
  Support
  =======

-Please leave your questions and messages on the designated Google Code  
site:
+Please leave your questions and messages on the designated site:

-http://code.google.com/p/django-dbtemplates/
+http://www.bitbucket.org/jezdez/django-dbtemplates/issues/

Modified: trunk/dbtemplates/models.py
==============================================================================
--- trunk/dbtemplates/models.py (original)
+++ trunk/dbtemplates/models.py Sun Nov  9 05:55:20 2008
@@ -42,15 +42,6 @@
                  pass
          super(Template, self).save(*args, **kwargs)

-# Check if django-reversion is installed and register the model with it if  
yes
-try:
-    models.get_app('reversion')
-except ImproperlyConfigured:
-    pass
-else:
-    import reversion
-    reversion.register(Template)
-
  def get_cache_backend():
      path = getattr(settings, 'DBTEMPLATES_CACHE_BACKEND', False)
      if path:

Modified: trunk/docs/overview.txt
==============================================================================
--- trunk/docs/overview.txt     (original)
+++ trunk/docs/overview.txt     Sun Nov  9 05:55:20 2008
@@ -140,7 +140,7 @@

  Please see also the `source of the default backends`_ to see how it works.

-.. _source of the default backends:  
http://code.google.com/p/django-dbtemplates/source/browse/trunk/dbtemplates/cache.py
+.. _source of the default backends:  
http://www.bitbucket.org/jezdez/django-dbtemplates/src/tip/dbtemplates/cache.py

  Versionizing your templates
  ===========================
@@ -159,24 +159,9 @@
  Short installation howto
  ------------------------

-1. Get the source from the `django-reversion`_ project site.
-2. Edit the settings.py of your Django project:
-
-   * Add ``reversion`` to the ``INSTALLED_APPS`` of your django site
-
-   * Add ``reversion.middleware.RevisionMiddleware`` to the end of the
-     ``MIDDLEWARE_CLASSES`` list.
-
-     It should look something like this::
-
-         MIDDLEWARE_CLASSES = (
-             'django.contrib.sessions.middleware.SessionMiddleware',
-             'django.middleware.common.CommonMiddleware',
-             'django.middleware.cache.CacheMiddleware',
-             # ..
-             'reversion.middleware.RevisionMiddleware',
-         )
-
+1. Get the source from the `django-reversion`_ project site and put it
+   somewhere on your `PYTHONPATH`.
+2. Add ``reversion`` to the ``INSTALLED_APPS`` setting of your Django  
project
  3. Sync your database with ``python manage.py syncdb``

  .. _django-reversion: http://code.google.com/p/django-reversion/

Modified: trunk/setup.py
==============================================================================
--- trunk/setup.py      (original)
+++ trunk/setup.py      Sun Nov  9 05:55:20 2008
@@ -2,13 +2,13 @@

  setup(
      name='django-dbtemplates',
-    version='0.5.0',
+    version='0.5.1',
      description='Template loader for database stored templates',
      long_description=open('README.rst').read(),
      author='Jannis Leidel',
      author_email='[EMAIL PROTECTED]',
-    url='http://code.google.com/p/django-dbtemplates/',
-    scripts=['dbtemplates/sync_templates.py',],
+    url='http://www.bitbucket.org/jezdez/django-dbtemplates/wiki/',
+     
download_url='http://www.bitbucket.org/jezdez/django-dbtemplates/get/v0.5.1.gz',
      packages=[
          'dbtemplates',
          'dbtemplates.management',
@@ -22,6 +22,6 @@
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
-        'Topic :: Utilities'
+        'Framework :: Django',
      ]
  )

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to