Commit 8eaf134b authored by Patrick Colmant's avatar Patrick Colmant

User fields added to standard admin form of customer and poducer

parent fa53f6bc
......@@ -99,13 +99,13 @@ When needed, upgrade the DB with south for a new version of specific INSTALLED_A
.. code:: bash
cd ~/production/mysite/
python manage.py schemamigration repanier --auto --settings=mysite.ptidej_settings
python manage.py migrate repanier --settings=mysite.ptidej_settings
python manage.py schemamigration repanier --auto --settings=mysite.repanier_settings
python manage.py migrate repanier --settings=mysite.repanier_settings
If needed, check what South has done
.. code:: bash
cd ~/production/mysite/
python manage.py migrate --list --settings=mysite.ptidej_settings
python manage.py migrate --list --settings=mysite.repanier_settings
......@@ -94,6 +94,7 @@ INSTALLED_APPS = (
'cmsplugin_filer_teaser',
'cmsplugin_filer_video',
'reversion',
'adminsortable',
)
CMS_PERMISSION = False # When set to True, don't forget 'cms.middleware.user.CurrentUserMiddleware'
......
This diff is collapsed.
......@@ -114,8 +114,6 @@ class SortableAdminMixin(SortableAdminBase):
def move_for_duplicate(self, obj):
startorder = getattr(obj, self.default_order_field)
finalorder = self.get_max_order()
print(startorder)
print(finalorder)
move_filter = {
'%s__gte' % self.default_order_field: startorder,
'%s__lte' % self.default_order_field: finalorder,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment