René's URL Explorer Experiment


Title: psycopg2.errors.UndefinedTable: relation "XXX" does not exist · Issue #45 · realpython/realpython-blog · GitHub

Open Graph Title: psycopg2.errors.UndefinedTable: relation "XXX" does not exist · Issue #45 · realpython/realpython-blog

X Title: psycopg2.errors.UndefinedTable: relation "XXX" does not exist · Issue #45 · realpython/realpython-blog

Description: First of all, thanks for this guide! I have completed my Django Project using cookiecutter-django. If I just locally run: $ docker-compose -f local.yml build $ docker-compose -f local.yml up My project launches just fine in http://0.0.0....

Open Graph Description: First of all, thanks for this guide! I have completed my Django Project using cookiecutter-django. If I just locally run: $ docker-compose -f local.yml build $ docker-compose -f local.yml up My pro...

X Description: First of all, thanks for this guide! I have completed my Django Project using cookiecutter-django. If I just locally run: $ docker-compose -f local.yml build $ docker-compose -f local.yml up My pro...

Opengraph URL: https://github.com/realpython/realpython-blog/issues/45

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"psycopg2.errors.UndefinedTable: relation \"XXX\" does not exist","articleBody":"First of all, thanks for this guide! I have completed my Django Project using cookiecutter-django.\r\nIf I just locally run:\r\n\r\n\r\n```\r\n$ docker-compose -f local.yml build\r\n\r\n$ docker-compose -f local.yml up\r\n```\r\n\r\nMy project launches just fine in http://0.0.0.0:8000\r\n\r\nNow I am following your tutorial but I get and error when I try to run the app inside the VM. I don't know if the problem might be related to the steps in the tutorial since I didn't edit the config files since I installed cookiecutter-django.\r\n\r\nI have been able to create the local docker-machine with `docker-machine create --driver virtualbox dev`, activate it `eval $(docker-machine env dev)` and build the image, but if I run `docker-compose -f local.yml up` then I get the following error:\r\n\r\n```\r\nAttaching to innovacion_innsai_postgres_1, innovacion_innsai_django_1, innovacion_innsai_node_1\r\npostgres_1  | 2020-03-12 09:14:42.686 UTC [1] LOG:  listening on IPv4 address \"0.0.0.0\", port 5432\r\npostgres_1  | 2020-03-12 09:14:42.686 UTC [1] LOG:  listening on IPv6 address \"::\", port 5432\r\npostgres_1  | 2020-03-12 09:14:42.688 UTC [1] LOG:  listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"\r\npostgres_1  | 2020-03-12 09:14:42.702 UTC [21] LOG:  database system was shut down at 2020-03-11 10:05:23 UTC\r\npostgres_1  | 2020-03-12 09:14:42.732 UTC [1] LOG:  database system is ready to accept connections\r\ndjango_1    | PostgreSQL is available\r\ndjango_1    | Traceback (most recent call last):\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py\", line 84, in _execute\r\ndjango_1    |     return self.cursor.execute(sql, params)\r\ndjango_1    | psycopg2.errors.UndefinedTable: relation \"innovation_sector\" does not exist\r\ndjango_1    | LINE 1: ...n_sector\".\"id\", \"innovation_sector\".\"sector\" FROM \"innovatio...\r\ndjango_1    |                                                              ^\r\ndjango_1    | \r\ndjango_1    | \r\ndjango_1    | The above exception was the direct cause of the following exception:\r\ndjango_1    | \r\ndjango_1    | Traceback (most recent call last):\r\ndjango_1    |   File \"manage.py\", line 30, in \u003cmodule\u003e\r\ndjango_1    |     execute_from_command_line(sys.argv)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py\", line 381, in execute_from_command_line\r\ndjango_1    |     utility.execute()\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py\", line 375, in execute\r\ndjango_1    |     self.fetch_command(subcommand).run_from_argv(self.argv)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/base.py\", line 323, in run_from_argv\r\ndjango_1    |     self.execute(*args, **cmd_options)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/base.py\", line 361, in execute\r\ndjango_1    |     self.check()\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/base.py\", line 390, in check\r\ndjango_1    |     include_deployment_checks=include_deployment_checks,\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py\", line 65, in _run_checks\r\ndjango_1    |     issues.extend(super()._run_checks(**kwargs))\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/management/base.py\", line 377, in _run_checks\r\ndjango_1    |     return checks.run_checks(**kwargs)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/checks/registry.py\", line 72, in run_checks\r\ndjango_1    |     new_errors = check(app_configs=app_configs)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/checks/urls.py\", line 13, in check_url_config\r\ndjango_1    |     return check_resolver(resolver)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/core/checks/urls.py\", line 23, in check_resolver\r\ndjango_1    |     return check_method()\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/urls/resolvers.py\", line 399, in check\r\ndjango_1    |     for pattern in self.url_patterns:\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/utils/functional.py\", line 80, in __get__\r\ndjango_1    |     res = instance.__dict__[self.name] = self.func(instance)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/urls/resolvers.py\", line 584, in url_patterns\r\ndjango_1    |     patterns = getattr(self.urlconf_module, \"urlpatterns\", self.urlconf_module)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/utils/functional.py\", line 80, in __get__\r\ndjango_1    |     res = instance.__dict__[self.name] = self.func(instance)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/urls/resolvers.py\", line 577, in urlconf_module\r\ndjango_1    |     return import_module(self.urlconf_name)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/importlib/__init__.py\", line 127, in import_module\r\ndjango_1    |     return _bootstrap._gcd_import(name[level:], package, level)\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 1006, in _gcd_import\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 983, in _find_and_load\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 967, in _find_and_load_unlocked\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 677, in _load_unlocked\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 728, in exec_module\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 219, in _call_with_frames_removed\r\ndjango_1    |   File \"/app/config/urls.py\", line 18, in \u003cmodule\u003e\r\ndjango_1    |     path(\"\", include(\"innovacion_innsai.innovation.urls\", namespace=\"innovation\")),\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/urls/conf.py\", line 34, in include\r\ndjango_1    |     urlconf_module = import_module(urlconf_module)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/importlib/__init__.py\", line 127, in import_module\r\ndjango_1    |     return _bootstrap._gcd_import(name[level:], package, level)\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 1006, in _gcd_import\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 983, in _find_and_load\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 967, in _find_and_load_unlocked\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 677, in _load_unlocked\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 728, in exec_module\r\ndjango_1    |   File \"\u003cfrozen importlib._bootstrap\u003e\", line 219, in _call_with_frames_removed\r\ndjango_1    |   File \"/app/innovacion_innsai/innovation/urls.py\", line 2, in \u003cmodule\u003e\r\ndjango_1    |     from innovacion_innsai.innovation import views\r\ndjango_1    |   File \"/app/innovacion_innsai/innovation/views.py\", line 9, in \u003cmodule\u003e\r\ndjango_1    |     from .analytics import alimentacion_cases, agro_cases, turismo_cases, movilidad_cases\r\ndjango_1    |   File \"/app/innovacion_innsai/innovation/analytics.py\", line 17, in \u003cmodule\u003e\r\ndjango_1    |     for case in Case.objects.filter(sector__sector=sectors[0]):\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/models/query.py\", line 308, in __getitem__\r\ndjango_1    |     qs._fetch_all()\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/models/query.py\", line 1242, in _fetch_all\r\ndjango_1    |     self._result_cache = list(self._iterable_class(self))\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/models/query.py\", line 55, in __iter__\r\ndjango_1    |     results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py\", line 1133, in execute_sql\r\ndjango_1    |     cursor.execute(sql, params)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py\", line 99, in execute\r\ndjango_1    |     return super().execute(sql, params)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py\", line 67, in execute\r\ndjango_1    |     return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py\", line 76, in _execute_with_wrappers\r\ndjango_1    |     return executor(sql, params, many, context)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py\", line 84, in _execute\r\ndjango_1    |     return self.cursor.execute(sql, params)\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/utils.py\", line 89, in __exit__\r\ndjango_1    |     raise dj_exc_value.with_traceback(traceback) from exc_value\r\ndjango_1    |   File \"/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py\", line 84, in _execute\r\ndjango_1    |     return self.cursor.execute(sql, params)\r\ndjango_1    | django.db.utils.ProgrammingError: relation \"innovation_sector\" does not exist\r\ndjango_1    | LINE 1: ...n_sector\".\"id\", \"innovation_sector\".\"sector\" FROM \"innovatio...\r\ndjango_1    |                                                              ^\r\ndjango_1    | \r\ninnovacion_innsai_django_1 exited with code 1\r\nnode_1      | \r\nnode_1      | \u003e innovacion_innsai@1.1.0 dev /app\r\nnode_1      | \u003e gulp\r\nnode_1      | \r\nnode_1      | [09:14:48] Using gulpfile /app/gulpfile.js\r\nnode_1      | [09:14:48] Starting 'default'...\r\nnode_1      | [09:14:48] Starting 'styles'...\r\nnode_1      | [09:14:48] Starting 'scripts'...\r\nnode_1      | [09:14:48] Starting 'imgCompression'...\r\nnode_1      | [09:14:48] gulp-imagemin: Minified 0 images\r\nnode_1      | [09:14:48] Finished 'imgCompression' after 34 ms\r\nnode_1      | [09:14:48] Finished 'scripts' after 128 ms\r\nnode_1      | [09:14:49] Finished 'styles' after 1.09 s\r\nnode_1      | [09:14:49] Starting 'initBrowserSync'...\r\nnode_1      | [09:14:49] Starting 'watchPaths'...\r\nnode_1      | [Browsersync] Proxying: http://django:8000\r\nnode_1      | [Browsersync] Access URLs:\r\nnode_1      |  -----------------------------------\r\nnode_1      |        Local: http://localhost:3000\r\nnode_1      |     External: http://172.20.0.4:3000\r\nnode_1      |  -----------------------------------\r\nnode_1      |           UI: http://localhost:3001\r\nnode_1      |  UI External: http://localhost:3001\r\nnode_1      |  -----------------------------------\r\n\r\n```\r\n\r\n\r\nIn case it might be relevant, if I visit the docker-machine's IP adreess and port (http://192.168.99.101:2376) before launching docker-compose build o up, the page displays \"Client sent an HTTP request to an HTTPS server.\"\r\n\r\nHere is my 'local.yml':\r\n\r\n```\r\nversion: '3'\r\n\r\nvolumes:\r\n  local_postgres_data: {}\r\n  local_postgres_data_backups: {}\r\n\r\nservices:\r\n  django:\r\n    build:\r\n      context: .\r\n      dockerfile: ./compose/local/django/Dockerfile\r\n    image: innovacion_innsai_local_django\r\n    depends_on:\r\n      - postgres\r\n    volumes:\r\n      - .:/app\r\n    env_file:\r\n      - ./.envs/.local/.django\r\n      - ./.envs/.local/.postgres\r\n    ports:\r\n      - \"8000:8000\"\r\n    command: /start\r\n\r\n  postgres:\r\n    build:\r\n      context: .\r\n      dockerfile: ./compose/production/postgres/Dockerfile\r\n    image: innovacion_innsai_production_postgres\r\n    volumes:\r\n      - local_postgres_data:/var/lib/postgresql/data\r\n      - local_postgres_data_backups:/backups\r\n    env_file:\r\n      - ./.envs/.local/.postgres\r\n\r\n  node:\r\n    build:\r\n      context: .\r\n      dockerfile: ./compose/local/node/Dockerfile\r\n    image: innovacion_innsai_local_node\r\n    depends_on:\r\n      - django\r\n    volumes:\r\n      - .:/app\r\n      # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html\r\n      - /app/node_modules\r\n    command: npm run dev\r\n    ports:\r\n      - \"3000:3000\"\r\n      # Expose browsersync UI: https://www.browsersync.io/docs/options/#option-ui\r\n      - \"3001:3001\"\r\n```\r\n\r\nthe result of running docker-machine ls:\r\n\r\n```\r\nNAME   ACTIVE   DRIVER         STATE     URL                         SWARM   DOCKER     ERRORS\r\ndev    -        virtualbox     Running   tcp://192.168.99.101:2376           v19.03.5  \r\n```\r\n\r\nMy .postgresql in the .envs/.local folder is:\r\n\r\n```\r\n# PostgreSQL\r\n# ------------------------------------------------------------------------------\r\nPOSTGRES_HOST=postgres\r\nPOSTGRES_PORT=5432\r\nPOSTGRES_DB=innovacion_innsai\r\nPOSTGRES_USER=debug\r\nPOSTGRES_PASSWORD=debug\r\n```\r\n\r\n\r\nand my Docker file for local:\r\n\r\n```\r\nFROM python:3.7-slim-buster\r\n\r\nENV PYTHONUNBUFFERED 1\r\n\r\nRUN apt-get update \\\r\n  # dependencies for building Python packages\r\n  \u0026\u0026 apt-get install -y build-essential \\\r\n  # psycopg2 dependencies\r\n  \u0026\u0026 apt-get install -y libpq-dev \\\r\n  # Translations dependencies\r\n  \u0026\u0026 apt-get install -y gettext \\\r\n  # cleaning up unused files\r\n  \u0026\u0026 apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \\\r\n  \u0026\u0026 rm -rf /var/lib/apt/lists/*\r\n\r\n# Requirements are installed here to ensure they will be cached.\r\nCOPY ./requirements /requirements\r\nRUN pip install -r /requirements/local.txt\r\n\r\nCOPY ./compose/production/django/entrypoint /entrypoint\r\nRUN sed -i 's/\\r$//g' /entrypoint\r\nRUN chmod +x /entrypoint\r\n\r\nCOPY ./compose/local/django/start /start\r\nRUN sed -i 's/\\r$//g' /start\r\nRUN chmod +x /start\r\n\r\nWORKDIR /app\r\n\r\nENTRYPOINT [\"/entrypoint\"]\r\n```\r\n\r\n","author":{"url":"https://github.com/joserraec","@type":"Person","name":"joserraec"},"datePublished":"2020-03-13T10:17:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/45/realpython-blog/issues/45"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:781da66f-3fe2-948f-1d60-2747647b0cb9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD714:C8602:1BBDCD0:24A5888:6971A190
html-safe-nonce67e5d9a82925b4d555fe8a31984b3269c83ff1dc604e14fa0a0747bde4562bc4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzE0OkM4NjAyOjFCQkRDRDA6MjRBNTg4ODo2OTcxQTE5MCIsInZpc2l0b3JfaWQiOiI4OTU2MDk3ODgxNjUxMTI2NjcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb6abca1b284444679691684a0a627a92606acf59242413151e2318d781075048
hovercard-subject-tagissue:580502121
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/realpython/realpython-blog/45/issue_layout
twitter:imagehttps://opengraph.githubassets.com/831ac3936aad55862c6188765cadcaf4d930d933d0d77b2fb4cd4e485b3c18cb/realpython/realpython-blog/issues/45
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/831ac3936aad55862c6188765cadcaf4d930d933d0d77b2fb4cd4e485b3c18cb/realpython/realpython-blog/issues/45
og:image:altFirst of all, thanks for this guide! I have completed my Django Project using cookiecutter-django. If I just locally run: $ docker-compose -f local.yml build $ docker-compose -f local.yml up My pro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejoserraec
hostnamegithub.com
expected-hostnamegithub.com
Nonefdfdce9cd4f6ab85dca2b0d11264270829297c962dd5a79df449062d7822258f
turbo-cache-controlno-preview
go-importgithub.com/realpython/realpython-blog git https://github.com/realpython/realpython-blog.git
octolytics-dimension-user_id5448020
octolytics-dimension-user_loginrealpython
octolytics-dimension-repository_id37278523
octolytics-dimension-repository_nworealpython/realpython-blog
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id37278523
octolytics-dimension-repository_network_root_nworealpython/realpython-blog
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release51c736e60b302bd039c9d5164573d176ceb24bb2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/realpython/realpython-blog/issues/45#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frealpython%2Frealpython-blog%2Fissues%2F45
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frealpython%2Frealpython-blog%2Fissues%2F45
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=realpython%2Frealpython-blog
Reloadhttps://patch-diff.githubusercontent.com/realpython/realpython-blog/issues/45
Reloadhttps://patch-diff.githubusercontent.com/realpython/realpython-blog/issues/45
Reloadhttps://patch-diff.githubusercontent.com/realpython/realpython-blog/issues/45
realpython https://patch-diff.githubusercontent.com/realpython
realpython-bloghttps://patch-diff.githubusercontent.com/realpython/realpython-blog
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Frealpython%2Frealpython-blog
Fork 85 https://patch-diff.githubusercontent.com/login?return_to=%2Frealpython%2Frealpython-blog
Star 205 https://patch-diff.githubusercontent.com/login?return_to=%2Frealpython%2Frealpython-blog
Code https://patch-diff.githubusercontent.com/realpython/realpython-blog
Issues 4 https://patch-diff.githubusercontent.com/realpython/realpython-blog/issues
Pull requests 6 https://patch-diff.githubusercontent.com/realpython/realpython-blog/pulls
Actions https://patch-diff.githubusercontent.com/realpython/realpython-blog/actions
Projects 0 https://patch-diff.githubusercontent.com/realpython/realpython-blog/projects
Wiki https://patch-diff.githubusercontent.com/realpython/realpython-blog/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/realpython/realpython-blog/security
Please reload this pagehttps://patch-diff.githubusercontent.com/realpython/realpython-blog/issues/45
Insights https://patch-diff.githubusercontent.com/realpython/realpython-blog/pulse
Code https://patch-diff.githubusercontent.com/realpython/realpython-blog
Issues https://patch-diff.githubusercontent.com/realpython/realpython-blog/issues
Pull requests https://patch-diff.githubusercontent.com/realpython/realpython-blog/pulls
Actions https://patch-diff.githubusercontent.com/realpython/realpython-blog/actions
Projects https://patch-diff.githubusercontent.com/realpython/realpython-blog/projects
Wiki https://patch-diff.githubusercontent.com/realpython/realpython-blog/wiki
Security https://patch-diff.githubusercontent.com/realpython/realpython-blog/security
Insights https://patch-diff.githubusercontent.com/realpython/realpython-blog/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/realpython/realpython-blog/issues/45
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/realpython/realpython-blog/issues/45
psycopg2.errors.UndefinedTable: relation "XXX" does not existhttps://patch-diff.githubusercontent.com/realpython/realpython-blog/issues/45#top
https://github.com/joserraec
https://github.com/joserraec
joserraechttps://github.com/joserraec
on Mar 13, 2020https://github.com/realpython/realpython-blog/issues/45#issue-580502121
http://0.0.0.0:8000http://0.0.0.0:8000
http://192.168.99.101:2376http://192.168.99.101:2376
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.