class Period(models.Model):
- date_from = models.DateField(_('begin date'), null=True, blank=True)
+ date_from = models.DateField(_('start date'), null=True, blank=True)
date_to = models.DateField(_('end date'), null=True, blank=True)
class Meta:
--- /dev/null
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.11 on 2017-03-23 09:39
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organization-job', '0011_auto_20170105_1743'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='candidacy',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ ]
--- /dev/null
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.11 on 2017-03-23 09:39
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organization-network', '0094_auto_20170323_0815'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='personactivity',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ migrations.AlterField(
+ model_name='personactivityvacation',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ ]
super(ProjectForm, self).__init__(*args, **kwargs)
self.fields['title'].label = "Project name"
self.fields['keywords'].help_text = "5 comma separated keywords"
+ self.fields['date_from'].help_text = "Project start date (DD/MM/YYYY)"
+ self.fields['date_to'].help_text = "Project end date (DD/MM/YYYY)"
class Meta:
model = Project
- fields = ('title', 'keywords', 'website')
-
+ fields = ('title', 'keywords', 'website', 'date_from', 'date_to')
class ProjectPublicDataInline(InlineFormSet):
--- /dev/null
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.11 on 2017-03-23 09:39
+from __future__ import unicode_literals
+
+import datetime
+from django.db import migrations, models
+from django.utils.timezone import utc
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organization-projects', '0054_auto_20170323_0815'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='projectpublicdata',
+ name='period',
+ ),
+ migrations.AddField(
+ model_name='projectpublicdata',
+ name='implementation_duration',
+ field=models.CharField(default='1', help_text='Possible duration of implementation in months (must be part of the project implementation workplan) (months)', max_length=128, verbose_name='implementation duration'),
+ ),
+ migrations.AddField(
+ model_name='projectpublicdata',
+ name='implementation_start_date',
+ field=models.DateField(default=datetime.datetime(2017, 3, 23, 9, 39, 34, 20133, tzinfo=utc), help_text='Possible start date of implementation (must be part of the project implementation workplan) (DD/MM/YYYY)', verbose_name='implementation start date'),
+ preserve_default=False,
+ ),
+ migrations.AlterField(
+ model_name='project',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ migrations.AlterField(
+ model_name='projectcall',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ migrations.AlterField(
+ model_name='projectresidency',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ migrations.AlterField(
+ model_name='projectworkpackage',
+ name='date_from',
+ field=models.DateField(blank=True, null=True, verbose_name='start date'),
+ ),
+ ]
technology_description = models.TextField(_('technology description'), help_text="Must include the elements to be made available to the artist with sufficient functional and implementation details for enabling him/her to elaborate his/her technical approach (100-200 words).")
objectives_description = models.TextField(_('objectives description'), help_text="What the project is looking to gain from the collaboration and what kind of artist would be suitable (100 – 150 words).")
resources_description = models.TextField(_('resource description'), help_text="Resources available to the artist -- e.g. office facility, studio facility, technical equipment, internet connection, laboratory, and periods of availability for artistic production, staff possibly allocated to the project, available budget for travel, consumables and equipment, etc... (50 – 100 words).")
- period = models.CharField(_('period of implementation'), max_length=128, help_text="Possible period of implementation (must be part of the project implementation workplan)")
+ implementation_start_date = models.DateField(_('implementation start date'), help_text="Possible start date of implementation (must be part of the project implementation workplan) (DD/MM/YYYY)")
+ implementation_duration = models.CharField(_('implementation duration'), max_length=128, help_text="Possible duration of implementation in months (must be part of the project implementation workplan) (months)", default='1')
image = models.FileField(_("Image"), max_length=1024, upload_to="user/images/%Y/%m/%d/", help_text="Representing the project")
image_credits = models.CharField(_('Image credits'), max_length=256, null=True)