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 schemamigration repanier --auto --settings=mysite.ptidej_settings
python migrate repanier --settings=mysite.ptidej_settings
python schemamigration repanier --auto --settings=mysite.repanier_settings
python migrate repanier --settings=mysite.repanier_settings
If needed, check what South has done
.. code:: bash
cd ~/production/mysite/
python migrate --list --settings=mysite.ptidej_settings
python migrate --list --settings=mysite.repanier_settings
......@@ -94,6 +94,7 @@ INSTALLED_APPS = (
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()
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