i was there already... but the problem that the system-specific absolute
path is saved into database persists...
i want to be able to drag the whole system including database to another
server... and that would be problematic if i store absolute paths
thanks
jonni
Am Freitag, 15. Februar 2013
Hi jonni,
How about something like;
FORMTEMPLATE_PATH = os.path.join(settings.PROJECT_PATH, 'templates/forms'
class Somemodel(models.Model):
formtemplate = FilePathField(path='FORMTEMPLATE_PATH',
match=".\*.htm[l]")
.
.
On Friday, February 15, 2013 4:14:44 PM UTC, JZ
2 matches
Mail list logo