Traceback (most recent call last):


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/core/handlers/base.py", line 158, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/core/handlers/base.py", line 156, in _get_response

response = response.render()


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/response.py", line 106, in render

self.content = self.rendered_content


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/response.py", line 83, in rendered_content

content = template.render(context, self._request)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/backends/django.py", line 61, in render

return self.template.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 175, in render

return self._render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 167, in _render

return self.nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/loader_tags.py", line 155, in render

return compiled_parent._render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 167, in _render

return self.nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/loader_tags.py", line 155, in render

return compiled_parent._render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 167, in _render

return self.nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/loader_tags.py", line 67, in render

result = block.nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/loader_tags.py", line 67, in render

result = block.nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/defaulttags.py", line 211, in render

nodelist.append(node.render_annotated(context))


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/loader_tags.py", line 194, in render

return template.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 177, in render

return self._render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 167, in _render

return self.nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/defaulttags.py", line 211, in render

nodelist.append(node.render_annotated(context))


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/defaulttags.py", line 211, in render

nodelist.append(node.render_annotated(context))


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/defaulttags.py", line 314, in render

return nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/defaulttags.py", line 314, in render

return nodelist.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 943, in render

bit = node.render_annotated(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 910, in render_annotated

return self.render(context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 999, in render

return render_value_in_context(output, context)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/template/base.py", line 978, in render_value_in_context

value = str(value)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/utils/html.py", line 380, in <lambda>

klass.__str__ = lambda self: mark_safe(klass_str(self))


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/forms/boundfield.py", line 36, in __str__

return self.as_widget()


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/forms/boundfield.py", line 118, in as_widget

**kwargs


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/forms/widgets.py", line 234, in render

context = self.get_context(name, value, attrs)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/contrib/admin/widgets.py", line 104, in get_context

context = super().get_context(name, value, attrs)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/forms/widgets.py", line 808, in get_context

value = self.decompress(value)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/forms/widgets.py", line 896, in decompress

value = to_current_timezone(value)


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/forms/utils.py", line 176, in to_current_timezone

if settings.USE_TZ and value is not None and timezone.is_aware(value):


 "/Users/rwojcik/.local/share/virtualenvs/content-services-djongo-32J-jGSB/lib/python3.7/site-packages/django/utils/timezone.py", line 247, in is_aware

return value.utcoffset() is not None
AttributeError: 'str' object has no attribute 'utcoffset'

Traceback (most recent call last):

 "<console>", line 1, in <module>

 "/Users/hakan/.virtualenvs/opinion/lib/python2.7/site-packages/rest_framework/serializers.py", line 434, in __repr__
return unicode_to_repr(representation.serializer_repr(self, indent=1))

 "/Users/hakan/.virtualenvs/opinion/lib/python2.7/site-packages/rest_framework/utils/representation.py", line 75, in serializer_repr
fields = serializer.fields

 "/Users/hakan/.virtualenvs/opinion/lib/python2.7/site-packages/rest_framework/serializers.py", line 312, in fields
for key, value in self.get_fields().items():

 "/Users/hakan/.virtualenvs/opinion/lib/python2.7/site-packages/rest_framework/serializers.py", line 1044, in get_fields
ret[field_name] = field_cls(**kwargs)

 "/Users/hakan/.virtualenvs/opinion/lib/python2.7/site-packages/rest_framework/fields.py", line 647, in __init__
super(IntegerField, self).__init__(**kwargs)TypeError: __init__() got an unexpected keyword argument 'max_length'