]
filter_horizontal = ['teams', 'organizations']
list_filter = ['type', 'program', 'program_type', null_filter('external_id')]
- list_display = ['title', 'external_id', 'date_from', 'date_to', 'status', 'admin_link']
+ list_display = ['title', 'created', 'validation_status',
+ 'date_from', 'date_to', 'status', 'external_id', 'admin_link']
class ProjectTopicAdmin(BaseTranslationModelAdmin):
model = Project
template_name='projects/project_ict_submission.html'
-
+
class ProjectICTCreateView(ProjectCallMixin, CreateWithInlinesView):
self.call = ProjectCall.objects.get(slug=self.kwargs['slug'])
self.object.call = self.call
self.object.topic, c = ProjectTopic.objects.get_or_create(name='ICT')
+ self.status = 1
self.object.save()
for formset in inlines: