Commit f87c08b38f2e2ab5702554fd44f056c457a44880

Authored by Gustavo
1 parent 355ce041

Removed useless code

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
bulletin/views.py
... ... @@ -275,7 +275,6 @@ class CreateView(LoginRequiredMixin, LogMixin, generic.edit.CreateView):
275 275  
276 276 if existe_meta:
277 277 meta_geral = Goals.objects.get(topic=topic)
278   - now = timezone.now()
279 278 if meta_geral.limit_submission_date.date() > datetime.datetime.today().date():
280 279 messages.error(request,_("The deadline to submit the goals of the topic %s has not yet closed, so you can't create a Bulletin.") %(topic) )
281 280 caminho2 = request.META['HTTP_REFERER']
... ...