diff --git a/neuropy/neuropy/templates/neuropy/about.html b/neuropy/neuropy/templates/neuropy/about.html index fa366e3..18761a5 100644 --- a/neuropy/neuropy/templates/neuropy/about.html +++ b/neuropy/neuropy/templates/neuropy/about.html @@ -40,7 +40,7 @@

Amos Bolder

Claire Gatenby

Image
-
I am a born and bred Australian who made the wild decision to quit my job and move to Seattle where I am learning how to code. I dream of using my past life as a scientist and my new skills as a developer to move into bioinformatics. I love cats, staying active, traveling, the outdoors and taking photos. I am Python developer.
+
I am a born and bred Australian who made the wild decision to quit my job and move to Seattle where I am learning how to code. I dream of using my past life as a scientist and my new skills as a developer to move into bioinformatics. I love cats, staying active, travelling, the outdoors and taking photos. I am Python developer.
diff --git a/neuropy/neuropy/urls.py b/neuropy/neuropy/urls.py index e7cc171..4987ab6 100644 --- a/neuropy/neuropy/urls.py +++ b/neuropy/neuropy/urls.py @@ -23,7 +23,6 @@ urlpatterns = [ - # url(r'^oauth2/', include(django_util_site.urls)), url(r'^oauth2callback', auth_return), url(r'^admin/', admin.site.urls), url(r'^$', TemplateView.as_view(template_name="neuropy/home.html"), diff --git a/neuropy/todo/tests.py b/neuropy/todo/tests.py index 4a94897..dbc61ae 100644 --- a/neuropy/todo/tests.py +++ b/neuropy/todo/tests.py @@ -588,5 +588,4 @@ def test_schedule_view_returns(self): session.save() html = self.client.get(reverse_lazy('create_sched')).content parsed_html = BeautifulSoup(html, "html5lib") - import pdb; pdb.set_trace() self.assertTrue(len(parsed_html.find_all('div')) == 10) diff --git a/neuropy/todo/views.py b/neuropy/todo/views.py index 4be41e5..3bb7cc4 100644 --- a/neuropy/todo/views.py +++ b/neuropy/todo/views.py @@ -4,7 +4,6 @@ from django.urls import reverse_lazy from django.views.generic import CreateView, UpdateView, ListView, DetailView, TemplateView from django.contrib.auth.mixins import (LoginRequiredMixin, - # PermissionRequiredMixin, UserPassesTestMixin, ) from todo.models import Todo @@ -47,7 +46,6 @@ def form_valid(self, form): class EditTodo(LoginRequiredMixin, UpdateView): """Edit todo.""" - # permission_required = "todo.change_todo" login_required = True model = Todo @@ -149,7 +147,6 @@ def td(time): drug = Medication.objects.get(name=drug_name) peak_end = start_time + datetime.timedelta(hours=td(drug.peak_end)) - # medium_start = start_time + datetime.timedelta(hours=td(drug.post_peak_medium_start)) easy_start = start_time + datetime.timedelta(hours=td(drug.post_peak_easy_start)) events_list = [] @@ -179,7 +176,6 @@ def td(time): events_list.append(dict(priority_dict)) start_time = start_time + datetime.timedelta(hours=event.duration) - print('priority_dict: ', priority_dict) return events_list