estin / pomp-craigslist-example

Extract data from Craigslist.org by python3 and pomp framework
37 stars 6 forks source link

Установить не удается #1

Open radist opened 7 years ago

radist commented 7 years ago
# docker-compose run --rm crawler python setup.py develop --user
Creating pompcraigslistexample_zookeeper_1
Creating pompcraigslistexample_grafana_1
Creating pompcraigslistexample_redis_1
Creating pompcraigslistexample_kafka_1
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
estin commented 7 years ago

Пробуйте так

docker-compose run --rm crawler python3 setup.py develop --user

Обновился контейнер python3 в hub.docker.com и теперь немного по другому.

makorne commented 7 years ago

Похоже опять чтото обновилось: docker-compose run --rm crawler python3 setup.py develop --user Creating pompcraigslistexample_zookeeper_1 ... Starting pompcraigslistexample_redis_1 ... done Creating pompcraigslistexample_zookeeper_1 Creating pompcraigslistexample_zookeeper_1 ... error

ERROR: for pompcraigslistexample_zookeeper_1 Cannot create container for service zookeeper: b'invalid port specification: "None"' Creating pompcraigslistexample_grafana_1 ... error

makorne commented 7 years ago

Что-то похоже на https://github.com/docker/compose/issues/4810 Но не могу найти в докер файле в чем дело

estin commented 7 years ago

В докер файле все вроде в норме. Вот та же проблема и решение такое https://github.com/docker/compose/issues/4729#issuecomment-299598394

Нужно:

makorne commented 7 years ago

Спасибо за помошь! Ну и вообще за мега-труд по созданию этого проекта. На Python 3.5.3 установилось

makorne commented 7 years ago

Вроде работает: started 502 finished 502 exeptions 230 Это нормально?

parsed 264 imported 264

estin commented 7 years ago

exeptions 230 это нормально хоть и стало ошибок в разы больше. В статье https://habrahabr.ru/post/278445/ сделал оговорку по этому поводу:

Примечание: в примере умышлено не исправлены ошибки в разборе некоторых страниц, для того что бы в процессе работы райсились исключения.

makorne commented 7 years ago

Не заработал django. На случай что дело в игре с версиями питона снес все, сделал с нуля. Выполняя команду $ docker-compose run --rm dataview sh -c "echo \"from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'myemail@example.com', 'admin')\" | manage dataview shell" ... Starting pompcraigslistexample_kafka_1 ... done Python 3.6.1 (default, May 10 2017, 03:31:24) [GCC 4.9.2] on linux Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole)

2017-05-11 11:29:12,033 DEBUG MainProcess django.db.backends (0.089) INSERT INTO "auth_user" ("password", "last_login", "is_superuser", "username", "first_name", "last_name", "email", "is_staff", "is_active", "date_joined") VALUES ('pbkdf2_sha256$24000$i1KMMcQyJiYD$5EfJnwJuauFlA1upwZ908Eg27Nt7YDOmPbYo7Abrobo=', NULL, true, 'admin', '', '', 'myemail@example.com', true, true, '2017-05-11T11:29:11.902954+00:00'::timestamptz) RETURNING "auth_user"."id"; args=('pbkdf2_sha256$24000$i1KMMcQyJiYD$5EfJnwJuauFlA1upwZ908Eg27Nt7YDOmPbYo7Abrobo=', None, True, 'admin', '', '', 'myemail@example.com', True, True, datetime.datetime(2017, 5, 11, 11, 29, 11, 902954, tzinfo=)) Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/management/commands/shell.py", line 69, in handle self.run_shell(shell=options['interface']) File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/management/commands/shell.py", line 61, in run_shell raise ImportError ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) psycopg2.IntegrityError: duplicate key value violates unique constraint "auth_user_username_key" DETAIL: Key (username)=(admin) already exists.

estin commented 7 years ago

Ошибка говорит о том что БД осталось старое.

DETAIL: Key (username)=(admin) already exists.

тут нужно:

А почему не завелась джанга нужно посмотреть логи.

makorne commented 7 years ago

Странно я удалял все докер контейнеры и имиджы.. Прошлый раз кажется такая же проблема была. Сейчас удалил все еще раз... docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES docker images all REPOSITORY TAG IMAGE ID CREATED SIZE Пробую еще раз с нуля

makorne commented 7 years ago

Та же ошибка DETAIL: Key (username)=(admin) already exists.

makorne commented 7 years ago

Может из-за того что команду docker-compose run --rm dataview manage dataview migrate пришлось запуска два раза, первый раз она упала с : Starting pompcraigslistexample_grafana_1 ... . done Creating pompcraigslistexample_postgres_1 Creating pompcraigslistexample_postgres_1 ... done Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/db/backends/base/base.py", line 199, in ensure_connection self.connect() File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/db/backends/base/base.py", line 171, in connect self.connection = self.get_new_connection(conn_params) File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/db/backends/postgresql/base.py", line 175, in get_new_connection connection = Database.connect(**conn_params) File "/root/lib/python3.6/site-packages/psycopg2-2.6.1-py3.6-linux-x86_64.egg/psycopg2/__init__.py", line 164, in connect conn = _connect(dsn, connection_factory=connection_factory, async=async) psycopg2.OperationalError: FATAL: the database system is starting up

estin commented 7 years ago

Нужно еще удалить и ./postgres-data Так как контейнер постгреса сконфигурен так https://github.com/estin/pomp-craigslist-example/blob/master/docker-compose.yml#L26

Т.е. использует файловую систему хост машины, а не контейнера (или отдельного volume)

makorne commented 7 years ago

Вот спасибо за подсказку... Ха! Я еще думал чего так перестраховываюсь - аж имиджы удаляю.. А недостраховался... Удалил бы и саму директорию проектом, скачал бы с github-а с нуля, глядишь и заработало бы..
Что сейчас и проверяю.

makorne commented 7 years ago

Встало.Урра. Вроде работает. Правда крейгу и прошлый раз не понравился :) "This IP has been automatically blocked."

estin commented 7 years ago

Рад слышать что все завелось. Видимо нужно поддержку прокси внедрять, но опять не вижу особого смысла продолжать усложнять этот проект. Цель его была показать как можно собрать что-то на подобное https://github.com/istresearch/scrapy-cluster

makorne commented 7 years ago

К сожалению, как-то недолго прожило...Буквально через день зайти не смог:

 File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/handlers/base.py", line 134, in get_response
    resolver_match = resolver.resolve(request.path_info)
  File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/urlresolvers.py", line 404, in resolve
    raise Resolver404({'tried': tried, 'path': new_path})
django.core.urlresolvers.Resolver404: {'tried': [[<RegexURLResolver <RegexURLPattern list> (admin:admin) ^admin/>]], 'path': 'admin'}
estin commented 7 years ago

Если зайти по http://localhost:8080/admin ? Случаем настройки не менялись и не пряталась ли джанго за nginx?

makorne commented 7 years ago

Ага.При этом http://localhost:8090/ на графану нормально идет. nginx стоит, но он на 80 и выключение его ничего не меняет. Настройки не менялись. Но!! Я гугланул тогда, и видел что эта же проблема из-за питона свежего кажется, там у других сайтов на джанге такое же было, и они меняли сам код чтобы не падало на всех последующих версиях.

makorne commented 7 years ago

Но чтото не найду сейчас.. Вот более полный лог, может он больше скажет `Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [errors] in 'None' 2017-05-11 15:43:46,355 DEBUG MainProcess django.template Exception while resolving variable 'show' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [show] in "[{'True': True, 'False': False, 'None': None, 'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16ccaae8>>}]" 2017-05-11 15:43:46,355 DEBUG MainProcess django.template Exception while resolving variable 'is_multipart' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_multipart] in 'None' 2017-05-11 15:43:46,386 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:43:46.381341+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 43, 46, 381341, tzinfo=)) 2017-05-11 15:43:46,388 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) `

estin commented 7 years ago

в этом логе нету Resolver404 а остальная ругань нормальное явление django 1.9.x при уровне логировании DEBUG, Многие считают это ошибкой, но нет это штатное поведение и в DEBUG выдаются трейсы.

Воспроизвести не могу - Resolver404

Покажите настройку nginx. Есть подозрение что он проксирует на http://localhost:8080/admin/admin вместо http://localhost:8080/admin. Или что-то подобное.

И как стартует джанго? через manage dataview runserver 0.0.0.0:8080?

makorne commented 7 years ago

Джанго специально ни как не запускаю, просто запуск докера проекта и все: docker-compose up -d Нгинх выключен.

Зря я лог обрезал, думал повторы уберу.. Вот весь лог: `2017-05-11 15:17:23,841 DEBUG MainProcess django.db.backends (0.002) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:23,872 DEBUG MainProcess django.db.backends.schema CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMARY KEY, "app" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "applied" timestamp with time zone NOT NULL); (params None) 2017-05-11 15:17:24,045 DEBUG MainProcess django.db.backends (0.173) CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMARY KEY, "app" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "applied" timestamp with time zone NOT NULL); args=None 2017-05-11 15:17:24,149 DEBUG MainProcess django.db.backends (0.001) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=() 2017-05-11 15:17:24,152 DEBUG MainProcess django.db.backends.schema CREATE TABLE "django_content_type" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(100) NOT NULL, "app_label" varchar(100) NOT NULL, "model" varchar(100) NOT NULL); (params None) 2017-05-11 15:17:24,189 DEBUG MainProcess django.db.backends (0.037) CREATE TABLE "django_content_type" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(100) NOT NULL, "app_label" varchar(100) NOT NULL, "model" varchar(100) NOT NULL); args=None 2017-05-11 15:17:24,191 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_content_type" ADD CONSTRAINT "django_content_type_app_label_76bd3d3b_uniq" UNIQUE ("app_label", "model"); (params []) 2017-05-11 15:17:24,201 DEBUG MainProcess django.db.backends (0.010) ALTER TABLE "django_content_type" ADD CONSTRAINT "django_content_type_app_label_76bd3d3b_uniq" UNIQUE ("app_label", "model"); args=[] 2017-05-11 15:17:24,209 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,211 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('contenttypes', '0001_initial', '2017-05-11T15:17:24.209758+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('contenttypes', '0001_initial', datetime.datetime(2017, 5, 11, 15, 17, 24, 209758, tzinfo=)) 2017-05-11 15:17:24,215 DEBUG MainProcess django.db.backends.schema CREATE TABLE "auth_permission" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(50) NOT NULL, "content_type_id" integer NOT NULL, "codename" varchar(100) NOT NULL); (params None) 2017-05-11 15:17:24,225 DEBUG MainProcess django.db.backends (0.009) CREATE TABLE "auth_permission" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(50) NOT NULL, "content_type_id" integer NOT NULL, "codename" varchar(100) NOT NULL); args=None 2017-05-11 15:17:24,229 DEBUG MainProcess django.db.backends.schema CREATE TABLE "auth_group" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(80) NOT NULL UNIQUE); (params None) 2017-05-11 15:17:24,257 DEBUG MainProcess django.db.backends (0.028) CREATE TABLE "auth_group" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(80) NOT NULL UNIQUE); args=None 2017-05-11 15:17:24,258 DEBUG MainProcess django.db.backends.schema CREATE TABLE "auth_group_permissions" ("id" serial NOT NULL PRIMARY KEY, "group_id" integer NOT NULL, "permission_id" integer NOT NULL); (params None) 2017-05-11 15:17:24,273 DEBUG MainProcess django.db.backends (0.015) CREATE TABLE "auth_group_permissions" ("id" serial NOT NULL PRIMARY KEY, "group_id" integer NOT NULL, "permission_id" integer NOT NULL); args=None 2017-05-11 15:17:24,280 DEBUG MainProcess django.db.backends.schema CREATE TABLE "auth_user" ("id" serial NOT NULL PRIMARY KEY, "password" varchar(128) NOT NULL, "last_login" timestamp with time zone NOT NULL, "is_superuser" boolean NOT NULL, "username" varchar(30) NOT NULL UNIQUE, "first_name" varchar(30) NOT NULL, "last_name" varchar(30) NOT NULL, "email" varchar(75) NOT NULL, "is_staff" boolean NOT NULL, "is_active" boolean NOT NULL, "date_joined" timestamp with time zone NOT NULL); (params None) 2017-05-11 15:17:24,305 DEBUG MainProcess django.db.backends (0.025) CREATE TABLE "auth_user" ("id" serial NOT NULL PRIMARY KEY, "password" varchar(128) NOT NULL, "last_login" timestamp with time zone NOT NULL, "is_superuser" boolean NOT NULL, "username" varchar(30) NOT NULL UNIQUE, "first_name" varchar(30) NOT NULL, "last_name" varchar(30) NOT NULL, "email" varchar(75) NOT NULL, "is_staff" boolean NOT NULL, "is_active" boolean NOT NULL, "date_joined" timestamp with time zone NOT NULL); args=None 2017-05-11 15:17:24,305 DEBUG MainProcess django.db.backends.schema CREATE TABLE "auth_user_groups" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "group_id" integer NOT NULL); (params None) 2017-05-11 15:17:24,321 DEBUG MainProcess django.db.backends (0.015) CREATE TABLE "auth_user_groups" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "group_id" integer NOT NULL); args=None 2017-05-11 15:17:24,322 DEBUG MainProcess django.db.backends.schema CREATE TABLE "auth_user_user_permissions" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "permission_id" integer NOT NULL); (params None) 2017-05-11 15:17:24,337 DEBUG MainProcess django.db.backends (0.015) CREATE TABLE "auth_user_user_permissions" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "permission_id" integer NOT NULL); args=None 2017-05-11 15:17:24,338 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_permission" ADD CONSTRAINT "auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,340 DEBUG MainProcess django.db.backends (0.002) ALTER TABLE "auth_permission" ADD CONSTRAINT "auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,340 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_permission" ADD CONSTRAINT "auth_permission_content_type_id_01ab375a_uniq" UNIQUE ("content_type_id", "codename"); (params []) 2017-05-11 15:17:24,353 DEBUG MainProcess django.db.backends (0.013) ALTER TABLE "auth_permission" ADD CONSTRAINT "auth_permission_content_type_id_01ab375a_uniq" UNIQUE ("content_type_id", "codename"); args=[] 2017-05-11 15:17:24,353 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_permission_417f1b1c" ON "auth_permission" ("content_type_id"); (params []) 2017-05-11 15:17:24,373 DEBUG MainProcess django.db.backends (0.020) CREATE INDEX "auth_permission_417f1b1c" ON "auth_permission" ("content_type_id"); args=[] 2017-05-11 15:17:24,373 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_group_name_a6ea08ec_like" ON "auth_group" ("name" varchar_pattern_ops); (params []) 2017-05-11 15:17:24,393 DEBUG MainProcess django.db.backends (0.019) CREATE INDEX "auth_group_name_a6ea08ec_like" ON "auth_group" ("name" varchar_pattern_ops); args=[] 2017-05-11 15:17:24,393 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permissions_group_id_b120cbf9_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,395 DEBUG MainProcess django.db.backends (0.002) ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permissions_group_id_b120cbf9_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,395 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,397 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,397 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permissions_group_id_0cd325b0_uniq" UNIQUE ("group_id", "permission_id"); (params []) 2017-05-11 15:17:24,409 DEBUG MainProcess django.db.backends (0.011) ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permissions_group_id_0cd325b0_uniq" UNIQUE ("group_id", "permission_id"); args=[] 2017-05-11 15:17:24,409 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_group_permissions_0e939a4f" ON "auth_group_permissions" ("group_id"); (params []) 2017-05-11 15:17:24,425 DEBUG MainProcess django.db.backends (0.015) CREATE INDEX "auth_group_permissions_0e939a4f" ON "auth_group_permissions" ("group_id"); args=[] 2017-05-11 15:17:24,425 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_group_permissions_8373b171" ON "auth_group_permissions" ("permission_id"); (params []) 2017-05-11 15:17:24,448 DEBUG MainProcess django.db.backends (0.023) CREATE INDEX "auth_group_permissions_8373b171" ON "auth_group_permissions" ("permission_id"); args=[] 2017-05-11 15:17:24,449 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_user_username_6821ab7c_like" ON "auth_user" ("username" varchar_pattern_ops); (params []) 2017-05-11 15:17:24,461 DEBUG MainProcess django.db.backends (0.012) CREATE INDEX "auth_user_username_6821ab7c_like" ON "auth_user" ("username" varchar_pattern_ops); args=[] 2017-05-11 15:17:24,461 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_user_id_6a12ed8b_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,463 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_user_id_6a12ed8b_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,463 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_group_id_97559544_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,464 DEBUG MainProcess django.db.backends (0.000) ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_group_id_97559544_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,464 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_user_id_94350c0c_uniq" UNIQUE ("user_id", "group_id"); (params []) 2017-05-11 15:17:24,485 DEBUG MainProcess django.db.backends (0.020) ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_user_id_94350c0c_uniq" UNIQUE ("user_id", "group_id"); args=[] 2017-05-11 15:17:24,485 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_user_groups_e8701ad4" ON "auth_user_groups" ("user_id"); (params []) 2017-05-11 15:17:24,505 DEBUG MainProcess django.db.backends (0.020) CREATE INDEX "auth_user_groups_e8701ad4" ON "auth_user_groups" ("user_id"); args=[] 2017-05-11 15:17:24,505 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_user_groups_0e939a4f" ON "auth_user_groups" ("group_id"); (params []) 2017-05-11 15:17:24,526 DEBUG MainProcess django.db.backends (0.020) CREATE INDEX "auth_user_groups_0e939a4f" ON "auth_user_groups" ("group_id"); args=[] 2017-05-11 15:17:24,526 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,527 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,527 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,529 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,529 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_permissions_user_id_14a6b632_uniq" UNIQUE ("user_id", "permission_id"); (params []) 2017-05-11 15:17:24,545 DEBUG MainProcess django.db.backends (0.016) ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_permissions_user_id_14a6b632_uniq" UNIQUE ("user_id", "permission_id"); args=[] 2017-05-11 15:17:24,545 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_user_user_permissions_e8701ad4" ON "auth_user_user_permissions" ("user_id"); (params []) 2017-05-11 15:17:24,557 DEBUG MainProcess django.db.backends (0.011) CREATE INDEX "auth_user_user_permissions_e8701ad4" ON "auth_user_user_permissions" ("user_id"); args=[] 2017-05-11 15:17:24,557 DEBUG MainProcess django.db.backends.schema CREATE INDEX "auth_user_user_permissions_8373b171" ON "auth_user_user_permissions" ("permission_id"); (params []) 2017-05-11 15:17:24,612 DEBUG MainProcess django.db.backends (0.055) CREATE INDEX "auth_user_user_permissions_8373b171" ON "auth_user_user_permissions" ("permission_id"); args=[] 2017-05-11 15:17:24,622 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,623 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0001_initial', '2017-05-11T15:17:24.622960+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0001_initial', datetime.datetime(2017, 5, 11, 15, 17, 24, 622960, tzinfo=)) 2017-05-11 15:17:24,693 DEBUG MainProcess django.db.backends.schema CREATE TABLE "django_admin_log" ("id" serial NOT NULL PRIMARY KEY, "action_time" timestamp with time zone NOT NULL, "object_id" text NULL, "object_repr" varchar(200) NOT NULL, "action_flag" smallint NOT NULL CHECK ("action_flag" >= 0), "change_message" text NOT NULL, "content_type_id" integer NULL, "user_id" integer NOT NULL); (params None) 2017-05-11 15:17:24,745 DEBUG MainProcess django.db.backends (0.052) CREATE TABLE "django_admin_log" ("id" serial NOT NULL PRIMARY KEY, "action_time" timestamp with time zone NOT NULL, "object_id" text NULL, "object_repr" varchar(200) NOT NULL, "action_flag" smallint NOT NULL CHECK ("action_flag" >= 0), "change_message" text NOT NULL, "content_type_id" integer NULL, "user_id" integer NOT NULL); args=None 2017-05-11 15:17:24,746 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_admin_log" ADD CONSTRAINT "django_admin_content_type_id_c4bce8eb_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,747 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "django_admin_log" ADD CONSTRAINT "django_admin_content_type_id_c4bce8eb_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,747 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_admin_log" ADD CONSTRAINT "django_admin_log_user_id_c564eba6_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) 2017-05-11 15:17:24,749 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "django_admin_log" ADD CONSTRAINT "django_admin_log_user_id_c564eba6_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; args=[] 2017-05-11 15:17:24,749 DEBUG MainProcess django.db.backends.schema CREATE INDEX "django_admin_log_417f1b1c" ON "django_admin_log" ("content_type_id"); (params []) 2017-05-11 15:17:24,765 DEBUG MainProcess django.db.backends (0.016) CREATE INDEX "django_admin_log_417f1b1c" ON "django_admin_log" ("content_type_id"); args=[] 2017-05-11 15:17:24,765 DEBUG MainProcess django.db.backends.schema CREATE INDEX "django_admin_log_e8701ad4" ON "django_admin_log" ("user_id"); (params []) 2017-05-11 15:17:24,785 DEBUG MainProcess django.db.backends (0.020) CREATE INDEX "django_admin_log_e8701ad4" ON "django_admin_log" ("user_id"); args=[] 2017-05-11 15:17:24,793 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,795 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('admin', '0001_initial', '2017-05-11T15:17:24.794486+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('admin', '0001_initial', datetime.datetime(2017, 5, 11, 15, 17, 24, 794486, tzinfo=)) 2017-05-11 15:17:24,809 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_admin_log" ALTER COLUMN "action_time" SET DEFAULT %s; (params [datetime.datetime(2017, 5, 11, 15, 17, 24, 809121, tzinfo=)]) 2017-05-11 15:17:24,810 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "django_admin_log" ALTER COLUMN "action_time" SET DEFAULT '2017-05-11T15:17:24.809121+00:00'::timestamptz; args=[datetime.datetime(2017, 5, 11, 15, 17, 24, 809121, tzinfo=)] 2017-05-11 15:17:24,810 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_admin_log" ALTER COLUMN "action_time" DROP DEFAULT; (params []) 2017-05-11 15:17:24,811 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "django_admin_log" ALTER COLUMN "action_time" DROP DEFAULT; args=[] 2017-05-11 15:17:24,822 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,823 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('admin', '0002_logentry_remove_auto_add', '2017-05-11T15:17:24.822673+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('admin', '0002_logentry_remove_auto_add', datetime.datetime(2017, 5, 11, 15, 17, 24, 822673, tzinfo=)) 2017-05-11 15:17:24,848 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_content_type" ALTER COLUMN "name" DROP NOT NULL; (params []) 2017-05-11 15:17:24,849 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "django_content_type" ALTER COLUMN "name" DROP NOT NULL; args=[] 2017-05-11 15:17:24,857 DEBUG MainProcess django.db.backends.schema ALTER TABLE "django_content_type" DROP COLUMN "name" CASCADE; (params []) 2017-05-11 15:17:24,858 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "django_content_type" DROP COLUMN "name" CASCADE; args=[] 2017-05-11 15:17:24,866 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,867 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('contenttypes', '0002_remove_content_type_name', '2017-05-11T15:17:24.866561+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('contenttypes', '0002_remove_content_type_name', datetime.datetime(2017, 5, 11, 15, 17, 24, 866561, tzinfo=)) 2017-05-11 15:17:24,880 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_permission" ALTER COLUMN "name" TYPE varchar(255) USING "name"::varchar(255); (params []) 2017-05-11 15:17:24,881 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_permission" ALTER COLUMN "name" TYPE varchar(255) USING "name"::varchar(255); args=[] 2017-05-11 15:17:24,890 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,891 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0002_alter_permission_name_max_length', '2017-05-11T15:17:24.890656+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0002_alter_permission_name_max_length', datetime.datetime(2017, 5, 11, 15, 17, 24, 890656, tzinfo=)) 2017-05-11 15:17:24,904 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user" ALTER COLUMN "email" TYPE varchar(254) USING "email"::varchar(254); (params []) 2017-05-11 15:17:24,905 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_user" ALTER COLUMN "email" TYPE varchar(254) USING "email"::varchar(254); args=[] 2017-05-11 15:17:24,914 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,915 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0003_alter_user_email_max_length', '2017-05-11T15:17:24.914979+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0003_alter_user_email_max_length', datetime.datetime(2017, 5, 11, 15, 17, 24, 914979, tzinfo=)) 2017-05-11 15:17:24,928 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,930 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0004_alter_user_username_opts', '2017-05-11T15:17:24.928694+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0004_alter_user_username_opts', datetime.datetime(2017, 5, 11, 15, 17, 24, 928694, tzinfo=)) 2017-05-11 15:17:24,945 DEBUG MainProcess django.db.backends.schema ALTER TABLE "auth_user" ALTER COLUMN "last_login" DROP NOT NULL; (params []) 2017-05-11 15:17:24,946 DEBUG MainProcess django.db.backends (0.001) ALTER TABLE "auth_user" ALTER COLUMN "last_login" DROP NOT NULL; args=[] 2017-05-11 15:17:24,953 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,955 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0005_alter_user_last_login_null', '2017-05-11T15:17:24.954393+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0005_alter_user_last_login_null', datetime.datetime(2017, 5, 11, 15, 17, 24, 954393, tzinfo=)) 2017-05-11 15:17:24,961 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,962 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0006_require_contenttypes_0002', '2017-05-11T15:17:24.962207+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0006_require_contenttypes_0002', datetime.datetime(2017, 5, 11, 15, 17, 24, 962207, tzinfo=)) 2017-05-11 15:17:24,978 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:24,980 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('auth', '0007_alter_validators_add_error_messages', '2017-05-11T15:17:24.979441+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('auth', '0007_alter_validators_add_error_messages', datetime.datetime(2017, 5, 11, 15, 17, 24, 979441, tzinfo=)) 2017-05-11 15:17:24,991 DEBUG MainProcess django.db.backends.schema CREATE TABLE "items_craigslistitem" ("id" serial NOT NULL PRIMARY KEY, "ts_created" timestamp with time zone NULL, "ts_imported" timestamp with time zone NOT NULL, "session_id" varchar(50) NULL, "city_code" varchar(50) NULL, "url" varchar(500) NULL, "title" varchar(500) NULL, "price" integer NULL CHECK ("price" >= 0), "photos" varchar(200)[] NULL, "description" text NULL); (params None) 2017-05-11 15:17:25,029 DEBUG MainProcess django.db.backends (0.037) CREATE TABLE "items_craigslistitem" ("id" serial NOT NULL PRIMARY KEY, "ts_created" timestamp with time zone NULL, "ts_imported" timestamp with time zone NOT NULL, "session_id" varchar(50) NULL, "city_code" varchar(50) NULL, "url" varchar(500) NULL, "title" varchar(500) NULL, "price" integer NULL CHECK ("price" >= 0), "photos" varchar(200)[] NULL, "description" text NULL); args=None 2017-05-11 15:17:25,029 DEBUG MainProcess django.db.backends.schema CREATE INDEX "items_craigslistitem_7fc8ef54" ON "items_craigslistitem" ("session_id"); (params []) 2017-05-11 15:17:25,041 DEBUG MainProcess django.db.backends (0.012) CREATE INDEX "items_craigslistitem_7fc8ef54" ON "items_craigslistitem" ("session_id"); args=[] 2017-05-11 15:17:25,042 DEBUG MainProcess django.db.backends.schema CREATE INDEX "items_craigslistitem_ceafd3e7" ON "items_craigslistitem" ("city_code"); (params []) 2017-05-11 15:17:25,057 DEBUG MainProcess django.db.backends (0.015) CREATE INDEX "items_craigslistitem_ceafd3e7" ON "items_craigslistitem" ("city_code"); args=[] 2017-05-11 15:17:25,058 DEBUG MainProcess django.db.backends.schema CREATE INDEX "items_craigslistitem_572d4e42" ON "items_craigslistitem" ("url"); (params []) 2017-05-11 15:17:25,078 DEBUG MainProcess django.db.backends (0.020) CREATE INDEX "items_craigslistitem_572d4e42" ON "items_craigslistitem" ("url"); args=[] 2017-05-11 15:17:25,078 DEBUG MainProcess django.db.backends.schema CREATE INDEX "items_craigslistitem_session_id_f6e8da90_like" ON "items_craigslistitem" ("session_id" varchar_pattern_ops); (params []) 2017-05-11 15:17:25,136 DEBUG MainProcess django.db.backends (0.058) CREATE INDEX "items_craigslistitem_session_id_f6e8da90_like" ON "items_craigslistitem" ("session_id" varchar_pattern_ops); args=[] 2017-05-11 15:17:25,137 DEBUG MainProcess django.db.backends.schema CREATE INDEX "items_craigslistitem_city_code_6c5bec66_like" ON "items_craigslistitem" ("city_code" varchar_pattern_ops); (params []) 2017-05-11 15:17:25,149 DEBUG MainProcess django.db.backends (0.012) CREATE INDEX "items_craigslistitem_city_code_6c5bec66_like" ON "items_craigslistitem" ("city_code" varchar_pattern_ops); args=[] 2017-05-11 15:17:25,150 DEBUG MainProcess django.db.backends.schema CREATE INDEX "items_craigslistitem_url_eed3ce99_like" ON "items_craigslistitem" ("url" varchar_pattern_ops); (params []) 2017-05-11 15:17:25,165 DEBUG MainProcess django.db.backends (0.015) CREATE INDEX "items_craigslistitem_url_eed3ce99_like" ON "items_craigslistitem" ("url" varchar_pattern_ops); args=[] 2017-05-11 15:17:25,174 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:25,175 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('items', '0001_initial', '2017-05-11T15:17:25.174955+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('items', '0001_initial', datetime.datetime(2017, 5, 11, 15, 17, 25, 174955, tzinfo=)) 2017-05-11 15:17:25,189 DEBUG MainProcess django.db.backends.schema CREATE TABLE "django_session" ("session_key" varchar(40) NOT NULL PRIMARY KEY, "session_data" text NOT NULL, "expire_date" timestamp with time zone NOT NULL); (params None) 2017-05-11 15:17:25,221 DEBUG MainProcess django.db.backends (0.032) CREATE TABLE "django_session" ("session_key" varchar(40) NOT NULL PRIMARY KEY, "session_data" text NOT NULL, "expire_date" timestamp with time zone NOT NULL); args=None 2017-05-11 15:17:25,221 DEBUG MainProcess django.db.backends.schema CREATE INDEX "django_session_de54fa62" ON "django_session" ("expire_date"); (params []) 2017-05-11 15:17:25,238 DEBUG MainProcess django.db.backends (0.016) CREATE INDEX "django_session_de54fa62" ON "django_session" ("expire_date"); args=[] 2017-05-11 15:17:25,238 DEBUG MainProcess django.db.backends.schema CREATE INDEX "django_session_session_key_c0390e0f_like" ON "django_session" ("session_key" varchar_pattern_ops); (params []) 2017-05-11 15:17:25,257 DEBUG MainProcess django.db.backends (0.019) CREATE INDEX "django_session_session_key_c0390e0f_like" ON "django_session" ("session_key" varchar_pattern_ops); args=[] 2017-05-11 15:17:25,266 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:25,268 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_migrations" ("app", "name", "applied") VALUES ('sessions', '0001_initial', '2017-05-11T15:17:25.266579+00:00'::timestamptz) RETURNING "django_migrations"."id"; args=('sessions', '0001_initial', datetime.datetime(2017, 5, 11, 15, 17, 25, 266579, tzinfo=)) 2017-05-11 15:17:25,278 DEBUG MainProcess django.db.backends (0.001) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:17:25,279 DEBUG MainProcess django.db.backends (0.000) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=() 2017-05-11 15:17:25,281 DEBUG MainProcess django.db.backends (0.001) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'admin' AND "django_content_type"."model" = 'logentry'); args=('admin', 'logentry') 2017-05-11 15:17:25,282 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'admin' AND "django_content_type"."model" = 'logentry'); args=('admin', 'logentry') 2017-05-11 15:17:25,283 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('admin', 'logentry') RETURNING "django_content_type"."id"; args=('admin', 'logentry') 2017-05-11 15:17:25,291 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (1) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(1,) 2017-05-11 15:17:25,293 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "auth_permission" ("name", "content_type_id", "codename") VALUES ('Can add log entry', 1, 'add_logentry'), ('Can change log entry', 1, 'change_logentry'), ('Can delete log entry', 1, 'delete_logentry'); args=('Can add log entry', 1, 'add_logentry', 'Can change log entry', 1, 'change_logentry', 'Can delete log entry', 1, 'delete_logentry') 2017-05-11 15:17:25,302 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = 'admin'; args=('admin',) 2017-05-11 15:17:25,303 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" = 'permission'); args=('auth', 'permission') 2017-05-11 15:17:25,304 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" = 'permission'); args=('auth', 'permission') 2017-05-11 15:17:25,305 DEBUG MainProcess django.db.backends (0.000) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('auth', 'permission') RETURNING "django_content_type"."id"; args=('auth', 'permission') 2017-05-11 15:17:25,314 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" = 'group'); args=('auth', 'group') 2017-05-11 15:17:25,315 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" = 'group'); args=('auth', 'group') 2017-05-11 15:17:25,316 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('auth', 'group') RETURNING "django_content_type"."id"; args=('auth', 'group') 2017-05-11 15:17:25,318 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" = 'user'); args=('auth', 'user') 2017-05-11 15:17:25,319 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" = 'user'); args=('auth', 'user') 2017-05-11 15:17:25,320 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('auth', 'user') RETURNING "django_content_type"."id"; args=('auth', 'user') 2017-05-11 15:17:25,330 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (2, 3, 4) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(2, 3, 4) 2017-05-11 15:17:25,332 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "auth_permission" ("name", "content_type_id", "codename") VALUES ('Can add permission', 2, 'add_permission'), ('Can change permission', 2, 'change_permission'), ('Can delete permission', 2, 'delete_permission'), ('Can add group', 3, 'add_group'), ('Can change group', 3, 'change_group'), ('Can delete group', 3, 'delete_group'), ('Can add user', 4, 'add_user'), ('Can change user', 4, 'change_user'), ('Can delete user', 4, 'delete_user'); args=('Can add permission', 2, 'add_permission', 'Can change permission', 2, 'change_permission', 'Can delete permission', 2, 'delete_permission', 'Can add group', 3, 'add_group', 'Can change group', 3, 'change_group', 'Can delete group', 3, 'delete_group', 'Can add user', 4, 'add_user', 'Can change user', 4, 'change_user', 'Can delete user', 4, 'delete_user') 2017-05-11 15:17:25,342 DEBUG MainProcess django.db.backends (0.001) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = 'auth'; args=('auth',) 2017-05-11 15:17:25,343 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" = 'contenttype'); args=('contenttypes', 'contenttype') 2017-05-11 15:17:25,345 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" = 'contenttype'); args=('contenttypes', 'contenttype') 2017-05-11 15:17:25,346 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('contenttypes', 'contenttype') RETURNING "django_content_type"."id"; args=('contenttypes', 'contenttype') 2017-05-11 15:17:25,354 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (5) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(5,) 2017-05-11 15:17:25,356 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "auth_permission" ("name", "content_type_id", "codename") VALUES ('Can add content type', 5, 'add_contenttype'), ('Can change content type', 5, 'change_contenttype'), ('Can delete content type', 5, 'delete_contenttype'); args=('Can add content type', 5, 'add_contenttype', 'Can change content type', 5, 'change_contenttype', 'Can delete content type', 5, 'delete_contenttype') 2017-05-11 15:17:25,366 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = 'contenttypes'; args=('contenttypes',) 2017-05-11 15:17:25,367 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" = 'session'); args=('sessions', 'session') 2017-05-11 15:17:25,368 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" = 'session'); args=('sessions', 'session') 2017-05-11 15:17:25,369 DEBUG MainProcess django.db.backends (0.000) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('sessions', 'session') RETURNING "django_content_type"."id"; args=('sessions', 'session') 2017-05-11 15:17:25,371 DEBUG MainProcess django.db.backends (0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (6) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(6,) 2017-05-11 15:17:25,373 DEBUG MainProcess django.db.backends (0.002) INSERT INTO "auth_permission" ("name", "content_type_id", "codename") VALUES ('Can add session', 6, 'add_session'), ('Can change session', 6, 'change_session'), ('Can delete session', 6, 'delete_session'); args=('Can add session', 6, 'add_session', 'Can change session', 6, 'change_session', 'Can delete session', 6, 'delete_session') 2017-05-11 15:17:25,381 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = 'sessions'; args=('sessions',) 2017-05-11 15:17:25,384 DEBUG MainProcess django.db.backends (0.001) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'items' AND "django_content_type"."model" = 'craigslistitem'); args=('items', 'craigslistitem') 2017-05-11 15:17:25,386 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."app_label" = 'items' AND "django_content_type"."model" = 'craigslistitem'); args=('items', 'craigslistitem') 2017-05-11 15:17:25,387 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_content_type" ("app_label", "model") VALUES ('items', 'craigslistitem') RETURNING "django_content_type"."id"; args=('items', 'craigslistitem') 2017-05-11 15:17:25,394 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (7) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(7,) 2017-05-11 15:17:25,396 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "auth_permission" ("name", "content_type_id", "codename") VALUES ('Can add craigs list item', 7, 'add_craigslistitem'), ('Can change craigs list item', 7, 'change_craigslistitem'), ('Can delete craigs list item', 7, 'delete_craigslistitem'); args=('Can add craigs list item', 7, 'add_craigslistitem', 'Can change craigs list item', 7, 'change_craigslistitem', 'Can delete craigs list item', 7, 'delete_craigslistitem') 2017-05-11 15:17:25,406 DEBUG MainProcess django.db.backends (0.000) SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = 'items'; args=('items',) 2017-05-11 15:18:00,176 DEBUG MainProcess django.db.backends (0.002) INSERT INTO "auth_user" ("password", "last_login", "is_superuser", "username", "first_name", "last_name", "email", "is_staff", "is_active", "date_joined") VALUES ('pbkdf2_sha256$24000$eI9SAU1U3CJu$RbWldzgLDJEehecy0OVShVNNad0GPISxyiMCd7KTwSU=', NULL, true, 'admin', '', '', 'myemail@example.com', true, true, '2017-05-11T15:18:00.142364+00:00'::timestamptz) RETURNING "auth_user"."id"; args=('pbkdf2_sha256$24000$eI9SAU1U3CJu$RbWldzgLDJEehecy0OVShVNNad0GPISxyiMCd7KTwSU=', None, True, 'admin', '', '', 'myemail@example.com', True, True, datetime.datetime(2017, 5, 11, 15, 18, 0, 142364, tzinfo=)) 2017-05-11 15:21:23,931 DEBUG MainProcess django.db.backends (0.002) SELECT c.relname, c.relkind FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid); args=None 2017-05-11 15:21:23,933 DEBUG MainProcess django.db.backends (0.001) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=() 2017-05-11 15:21:31,860 WARNING MainProcess django.request Not Found: /admin 2017-05-11 15:21:31,863 DEBUG MainProcess django.template Exception while resolving variable 'name' in template 'unknown'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/handlers/base.py", line 134, in get_response resolver_match = resolver.resolve(request.path_info) File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/urlresolvers.py", line 404, in resolve raise Resolver404({'tried': tried, 'path': new_path}) django.core.urlresolvers.Resolver404: {'tried': [[<RegexURLResolver (admin:admin) ^admin/>]], 'path': 'admin'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'RegexURLResolver' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'RegexURLResolver' object has no attribute 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [name] in '<RegexURLResolver (admin:admin) ^admin/>' 2017-05-11 15:21:32,089 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/login.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16d1f048>>, 'request': <WSGIRequest: GET '/admin/login/?next=/admin/'>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fcc16c61b00>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc16d19780>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc16c61f98>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'form': , 'next': '/admin/', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fcc16cfe2e8>, 'site_name': 'localhost:8080', 'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': False, 'available_apps': [], 'title': 'Log in', 'app_path': '/admin/login/?next=/admin/', 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:21:32,118 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/login.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16d1f048>>, 'request': <WSGIRequest: GET '/admin/login/?next=/admin/'>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fcc16c61b00>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc16d19780>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc16c61f98>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'form': , 'next': '/admin/', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fcc16cfe2e8>, 'site_name': 'localhost:8080', 'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': False, 'available_apps': [], 'title': 'Log in', 'app_path': '/admin/login/?next=/admin/', 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:21:32,387 WARNING MainProcess django.request Not Found: /favicon.ico 2017-05-11 15:21:32,390 DEBUG MainProcess django.template Exception while resolving variable 'name' in template 'unknown'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/handlers/base.py", line 134, in get_response resolver_match = resolver.resolve(request.path_info) File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/urlresolvers.py", line 404, in resolve raise Resolver404({'tried': tried, 'path': new_path}) django.core.urlresolvers.Resolver404: {'tried': [[<RegexURLResolver (admin:admin) ^admin/>]], 'path': 'favicon.ico'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'RegexURLResolver' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'RegexURLResolver' object has no attribute 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [name] in '<RegexURLResolver (admin:admin) ^admin/>' 2017-05-11 15:21:32,394 WARNING MainProcess django.request Not Found: /favicon.ico 2017-05-11 15:21:32,398 DEBUG MainProcess django.template Exception while resolving variable 'name' in template 'unknown'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/handlers/base.py", line 134, in get_response resolver_match = resolver.resolve(request.path_info) File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/core/urlresolvers.py", line 404, in resolve raise Resolver404({'tried': tried, 'path': new_path}) django.core.urlresolvers.Resolver404: {'tried': [[<RegexURLResolver (admin:admin) ^admin/>]], 'path': 'favicon.ico'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'RegexURLResolver' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'RegexURLResolver' object has no attribute 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [name] in '<RegexURLResolver (admin:admin) ^admin/>' 2017-05-11 15:22:15,360 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."username" = 'admin'; args=('admin',) 2017-05-11 15:22:15,411 DEBUG MainProcess django.db.backends (0.001) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' LIMIT 1; args=('86b8teintwechmwmlu4vg2ngnbau14qf',) 2017-05-11 15:22:15,413 DEBUG MainProcess django.db.backends (0.001) INSERT INTO "django_session" ("session_key", "session_data", "expire_date") VALUES ('86b8teintwechmwmlu4vg2ngnbau14qf', 'ZDZkZjYxZTM0YTc5ZmNhYWNjMWQ1MTFjNzZiYTE2NzE0NDRjYTM5NDp7fQ==', '2017-05-25T15:22:15.412331+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', 'ZDZkZjYxZTM0YTc5ZmNhYWNjMWQ1MTFjNzZiYTE2NzE0NDRjYTM5NDp7fQ==', datetime.datetime(2017, 5, 25, 15, 22, 15, 412331, tzinfo=)) 2017-05-11 15:22:15,417 DEBUG MainProcess django.db.backends (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE "django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf'; args=('86b8teintwechmwmlu4vg2ngnbau14qf',) 2017-05-11 15:22:15,418 DEBUG MainProcess django.db.backends (0.001) DELETE FROM "django_session" WHERE "django_session"."session_key" IN ('86b8teintwechmwmlu4vg2ngnbau14qf'); args=('86b8teintwechmwmlu4vg2ngnbau14qf',) 2017-05-11 15:22:15,421 DEBUG MainProcess django.db.backends (0.001) UPDATE "auth_user" SET "last_login" = '2017-05-11T15:22:15.420005+00:00'::timestamptz WHERE "auth_user"."id" = 1; args=(datetime.datetime(2017, 5, 11, 15, 22, 15, 420005, tzinfo=), 1) 2017-05-11 15:22:15,424 DEBUG MainProcess django.db.backends (0.001) UPDATE "django_session" SET "session_data" = 'NDFhMDg5MDQzOGExNWJjNWQxNzZiYmVhYmMwNDgwMGNjOGYzZTZmMDp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI5OWU0YmZjODM2NDg5NTljNTAyMWY2OWI5NjdkNTlmNTk4ODU5ZDMxIn0=', "expire_date" = '2017-05-25T15:22:15.423360+00:00'::timestamptz WHERE "django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf'; args=('NDFhMDg5MDQzOGExNWJjNWQxNzZiYmVhYmMwNDgwMGNjOGYzZTZmMDp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI5OWU0YmZjODM2NDg5NTljNTAyMWY2OWI5NjdkNTlmNTk4ODU5ZDMxIn0=', datetime.datetime(2017, 5, 25, 15, 22, 15, 423360, tzinfo=), '86b8teintwechmwmlu4vg2ngnbau14qf') 2017-05-11 15:22:15,425 DEBUG MainProcess django.db.backends (0.000) INSERT INTO "django_session" ("session_key", "session_data", "expire_date") VALUES ('86b8teintwechmwmlu4vg2ngnbau14qf', 'NDFhMDg5MDQzOGExNWJjNWQxNzZiYmVhYmMwNDgwMGNjOGYzZTZmMDp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI5OWU0YmZjODM2NDg5NTljNTAyMWY2OWI5NjdkNTlmNTk4ODU5ZDMxIn0=', '2017-05-25T15:22:15.423360+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', 'NDFhMDg5MDQzOGExNWJjNWQxNzZiYmVhYmMwNDgwMGNjOGYzZTZmMDp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI5OWU0YmZjODM2NDg5NTljNTAyMWY2OWI5NjdkNTlmNTk4ODU5ZDMxIn0=', datetime.datetime(2017, 5, 25, 15, 22, 15, 423360, tzinfo=)) 2017-05-11 15:22:15,435 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:22:15.430561+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 22, 15, 430561, tzinfo=)) 2017-05-11 15:22:15,436 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:22:15,473 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/index.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16c95f28>>, 'request': <WSGIRequest: GET '/admin/'>, 'user': <SimpleLazyObject: >, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc16c79240>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc16c8ff60>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': True, 'available_apps': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0bd30>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0b6a0>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0bba8>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135ac8>, 'app_list': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16c8f780>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16c8f6a0>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0bac8>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:22:15,474 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/index.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16c95f28>>, 'request': <WSGIRequest: GET '/admin/'>, 'user': <SimpleLazyObject: >, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc16c79240>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc16c8ff60>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': True, 'available_apps': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0bd30>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0b6a0>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0bba8>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135ac8>, 'app_list': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16c8f780>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16c8f6a0>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d0bac8>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:22:15,482 DEBUG MainProcess django.db.backends (0.002) SELECT "django_admin_log"."id", "django_admin_log"."action_time", "django_admin_log"."user_id", "django_admin_log"."content_type_id", "django_admin_log"."object_id", "django_admin_log"."object_repr", "django_admin_log"."action_flag", "django_admin_log"."change_message", "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined", "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_admin_log" INNER JOIN "auth_user" ON ("django_admin_log"."user_id" = "auth_user"."id") LEFT OUTER JOIN "django_content_type" ON ("django_admin_log"."content_type_id" = "django_content_type"."id") WHERE "django_admin_log"."user_id" = 1 ORDER BY "django_admin_log"."action_time" DESC LIMIT 10; args=(1,) 2017-05-11 15:22:22,135 WARNING MainProcess django.request Not Found: / 2017-05-11 15:22:24,309 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:22:24.304363+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 22, 24, 304363, tzinfo=)) 2017-05-11 15:22:24,311 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:22:24,324 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/index.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16c95f28>>, 'request': <WSGIRequest: GET '/admin/'>, 'user': <SimpleLazyObject: >, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc16c6f668>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc15a11ba8>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': True, 'available_apps': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d19278>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d19128>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d192e8>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135ac8>, 'app_list': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d812e8>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d81780>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d19240>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:22:24,326 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/index.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16c95f28>>, 'request': <WSGIRequest: GET '/admin/'>, 'user': <SimpleLazyObject: >, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc16c6f668>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc15a11ba8>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': True, 'available_apps': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d19278>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d19128>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d192e8>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135ac8>, 'app_list': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d812e8>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d81780>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc16d19240>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:22:24,332 DEBUG MainProcess django.db.backends (0.001) SELECT "django_admin_log"."id", "django_admin_log"."action_time", "django_admin_log"."user_id", "django_admin_log"."content_type_id", "django_admin_log"."object_id", "django_admin_log"."object_repr", "django_admin_log"."action_flag", "django_admin_log"."change_message", "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined", "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_admin_log" INNER JOIN "auth_user" ON ("django_admin_log"."user_id" = "auth_user"."id") LEFT OUTER JOIN "django_content_type" ON ("django_admin_log"."content_type_id" = "django_content_type"."id") WHERE "django_admin_log"."user_id" = 1 ORDER BY "django_admin_log"."action_time" DESC LIMIT 10; args=(1,) 2017-05-11 15:22:26,269 DEBUG MainProcess django.db.backends (0.002) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:22:26.263310+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 22, 26, 263310, tzinfo=)) 2017-05-11 15:22:26,270 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:22:26,273 DEBUG MainProcess django.db.backends (0.002) SELECT "items_craigslistitem"."session_id", COUNT("items_craigslistitem"."session_id") AS "count" FROM "items_craigslistitem" GROUP BY "items_craigslistitem"."session_id" ORDER BY "count" DESC, "items_craigslistitem"."session_id" ASC; args=() 2017-05-11 15:22:26,274 DEBUG MainProcess django.db.backends (0.000) SELECT "items_craigslistitem"."city_code", COUNT("items_craigslistitem"."city_code") AS "count" FROM "items_craigslistitem" GROUP BY "items_craigslistitem"."city_code" ORDER BY "count" DESC, "items_craigslistitem"."city_code" ASC; args=() 2017-05-11 15:22:26,275 DEBUG MainProcess django.db.backends (0.000) SELECT COUNT(*) AS "__count" FROM "items_craigslistitem"; args=() 2017-05-11 15:22:26,278 DEBUG MainProcess django.db.backends (0.000) SELECT "items_craigslistitem"."id", "items_craigslistitem"."ts_created", "items_craigslistitem"."ts_imported", "items_craigslistitem"."session_id", "items_craigslistitem"."city_code", "items_craigslistitem"."url", "items_craigslistitem"."title", "items_craigslistitem"."price", "items_craigslistitem"."photos", "items_craigslistitem"."description" FROM "items_craigslistitem" ORDER BY "items_craigslistitem"."id" DESC; args=() 2017-05-11 15:22:26,306 DEBUG MainProcess django.template Exception while resolving variable 'errors' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [errors] in 'None' 2017-05-11 15:22:26,308 DEBUG MainProcess django.template Exception while resolving variable 'show' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [show] in "[{'True': True, 'False': False, 'None': None, 'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16c95f28>>}]" 2017-05-11 15:22:26,309 DEBUG MainProcess django.template Exception while resolving variable 'is_multipart' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_multipart] in 'None' 2017-05-11 15:22:26,345 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:22:26.337590+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 22, 26, 337590, tzinfo=)) 2017-05-11 15:22:26,346 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:43:40,810 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:43:40.805743+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 43, 40, 805743, tzinfo=)) 2017-05-11 15:43:40,812 DEBUG MainProcess django.db.backends (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:43:40,814 DEBUG MainProcess django.db.backends (0.000) SELECT "items_craigslistitem"."session_id", COUNT("items_craigslistitem"."session_id") AS "count" FROM "items_craigslistitem" GROUP BY "items_craigslistitem"."session_id" ORDER BY "count" DESC, "items_craigslistitem"."session_id" ASC; args=() 2017-05-11 15:43:40,815 DEBUG MainProcess django.db.backends (0.000) SELECT "items_craigslistitem"."city_code", COUNT("items_craigslistitem"."city_code") AS "count" FROM "items_craigslistitem" GROUP BY "items_craigslistitem"."city_code" ORDER BY "count" DESC, "items_craigslistitem"."city_code" ASC; args=() 2017-05-11 15:43:40,816 DEBUG MainProcess django.db.backends (0.000) SELECT COUNT(*) AS "__count" FROM "items_craigslistitem"; args=() 2017-05-11 15:43:40,819 DEBUG MainProcess django.db.backends (0.001) SELECT "items_craigslistitem"."id", "items_craigslistitem"."ts_created", "items_craigslistitem"."ts_imported", "items_craigslistitem"."session_id", "items_craigslistitem"."city_code", "items_craigslistitem"."url", "items_craigslistitem"."title", "items_craigslistitem"."price", "items_craigslistitem"."photos", "items_craigslistitem"."description" FROM "items_craigslistitem" ORDER BY "items_craigslistitem"."id" DESC; args=() 2017-05-11 15:43:40,897 DEBUG MainProcess django.template Exception while resolving variable 'errors' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [errors] in 'None' 2017-05-11 15:43:40,900 DEBUG MainProcess django.template Exception while resolving variable 'show' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [show] in "[{'True': True, 'False': False, 'None': None, 'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc159d7840>>}]" 2017-05-11 15:43:40,901 DEBUG MainProcess django.template Exception while resolving variable 'is_multipart' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_multipart] in 'None' 2017-05-11 15:43:40,943 DEBUG MainProcess django.db.backends (0.007) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:43:40.928397+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 43, 40, 928397, tzinfo=)) 2017-05-11 15:43:40,947 DEBUG MainProcess django.db.backends (0.002) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:43:44,478 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:43:44.473534+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 43, 44, 473534, tzinfo=)) 2017-05-11 15:43:44,480 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:43:44,521 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/app_index.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc159d7400>>, 'request': <WSGIRequest: GET '/admin/items/'>, 'user': <SimpleLazyObject: >, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc159bb358>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc159a3da0>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': True, 'available_apps': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc159a35c0>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc159a3400>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc159a34e0>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'title': 'Items administration', 'app_list': [{'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc159f7f98>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'app_label': 'items', 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:43:44,522 DEBUG MainProcess django.template Exception while resolving variable 'is_popup' in template 'admin/app_index.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_popup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc159d7400>>, 'request': <WSGIRequest: GET '/admin/items/'>, 'user': <SimpleLazyObject: >, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcc159bb358>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcc159a3da0>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}, {}, {'site_title': <django.utils.functional.lazy..proxy object at 0x7fcc1a135550>, 'site_header': <django.utils.functional.lazy..proxy object at 0x7fcc1a1355c0>, 'site_url': '/', 'has_permission': True, 'available_apps': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc1a295940>, 'app_label': 'auth', 'app_url': '/admin/auth/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc159a35c0>, 'object_name': 'Group', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/group/', 'add_url': '/admin/auth/group/add/'}, {'name': <django.utils.functional.lazy..proxy object at 0x7fcc159a3400>, 'object_name': 'User', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/auth/user/', 'add_url': '/admin/auth/user/add/'}]}, {'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc159a34e0>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'title': 'Items administration', 'app_list': [{'name': 'Items', 'app_label': 'items', 'app_url': '/admin/items/', 'has_module_perms': True, 'models': [{'name': <django.utils.functional.lazy..proxy object at 0x7fcc159f7f98>, 'object_name': 'CraigsListItem', 'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': '/admin/items/craigslistitem/', 'add_url': '/admin/items/craigslistitem/add/'}]}], 'app_label': 'items', 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}]" 2017-05-11 15:43:46,333 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:43:46.328848+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 43, 46, 328848, tzinfo=)) 2017-05-11 15:43:46,336 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) 2017-05-11 15:43:46,337 DEBUG MainProcess django.db.backends (0.001) SELECT "items_craigslistitem"."session_id", COUNT("items_craigslistitem"."session_id") AS "count" FROM "items_craigslistitem" GROUP BY "items_craigslistitem"."session_id" ORDER BY "count" DESC, "items_craigslistitem"."session_id" ASC; args=() 2017-05-11 15:43:46,338 DEBUG MainProcess django.db.backends (0.000) SELECT "items_craigslistitem"."city_code", COUNT("items_craigslistitem"."city_code") AS "count" FROM "items_craigslistitem" GROUP BY "items_craigslistitem"."city_code" ORDER BY "count" DESC, "items_craigslistitem"."city_code" ASC; args=() 2017-05-11 15:43:46,339 DEBUG MainProcess django.db.backends (0.000) SELECT COUNT(*) AS "__count" FROM "items_craigslistitem"; args=() 2017-05-11 15:43:46,342 DEBUG MainProcess django.db.backends (0.001) SELECT "items_craigslistitem"."id", "items_craigslistitem"."ts_created", "items_craigslistitem"."ts_imported", "items_craigslistitem"."session_id", "items_craigslistitem"."city_code", "items_craigslistitem"."url", "items_craigslistitem"."title", "items_craigslistitem"."price", "items_craigslistitem"."photos", "items_craigslistitem"."description" FROM "items_craigslistitem" ORDER BY "items_craigslistitem"."id" DESC; args=() 2017-05-11 15:43:46,351 DEBUG MainProcess django.template Exception while resolving variable 'errors' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [errors] in 'None' 2017-05-11 15:43:46,355 DEBUG MainProcess django.template Exception while resolving variable 'show' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/context.py", line 77, in getitem raise KeyError(key) KeyError: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 889, in _resolve_lookup if isinstance(current, BaseContext) and getattr(type(current), bit): AttributeError: type object 'RequestContext' has no attribute 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'show'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [show] in "[{'True': True, 'False': False, 'None': None, 'csrf_token': <SimpleLazyObject: <function csrf.._get_val at 0x7fcc16ccaae8>>}]" 2017-05-11 15:43:46,355 DEBUG MainProcess django.template Exception while resolving variable 'is_multipart' in template 'admin/change_list.html'. Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 883, in _resolve_lookup current = current[bit] TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 891, in _resolve_lookup current = getattr(current, bit) AttributeError: 'NoneType' object has no attribute 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 898, in _resolve_lookup current = current[int(bit)] ValueError: invalid literal for int() with base 10: 'is_multipart'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/lib/python3.6/site-packages/Django-1.9.2-py3.6.egg/django/template/base.py", line 905, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_multipart] in 'None' 2017-05-11 15:43:46,386 DEBUG MainProcess django.db.backends (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = '86b8teintwechmwmlu4vg2ngnbau14qf' AND "django_session"."expire_date" > '2017-05-11T15:43:46.381341+00:00'::timestamptz); args=('86b8teintwechmwmlu4vg2ngnbau14qf', datetime.datetime(2017, 5, 11, 15, 43, 46, 381341, tzinfo=)) 2017-05-11 15:43:46,388 DEBUG MainProcess django.db.backends (0.001) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1; args=(1,) `