Changeset 6449 for trunk


Ignore:
Timestamp:
Dec 12, 2008, 5:46:40 PM (16 years ago)
Author:
roland
Message:

New admin media prefix

Location:
trunk/exodus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/forms.py

    r6443 r6449  
    1111    def clean_masterip(self):
    1212        new_network = self.cleaned_data.get('network')
    13         #XXX: racing conditions with free_master_ip and save()?
    1413        # self.instnace.pk is only available when Node has been save before.
    1514        if self.instance.pk is None:
  • trunk/exodus/settings.py

    r6447 r6449  
    2727EXODUS_STATIC_ROOT = os.path.join(EXODUS_ROOT, 'static')
    2828DJANGO_ADMIN_ROOT = os.path.join(EXODUS_ROOT, 'media')
     29ADMIN_MEDIA_PREFIX = '/exodus/media/'
    2930
    3031DATABASE_ENGINE = 'sqlite3'           # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
Note: See TracChangeset for help on using the changeset viewer.