question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example Project not updated for new Django version

See original GitHub issue

Hello,

I am very new to Django and Python in general, and I am having an issue running the example_project provided in the repository. Looking through some of the more recent (last 6 months) issues, it seems Django 2.1 update is stopping me from creating a database .

I replaced on my machine the from django.core.urlresolver import reverse line in posts/models.py with from django.urls import reverse, but something involving the urls is stopping it. If someone smarter could recreate it they could probably explain the problem better. Thanks, cheers!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
aleksihaklicommented, Sep 8, 2019

It’s great to help people getting started! The changes look good in the fork you have made, but I can’t see the PR under this repository yet. GitHub has a decent document describing PRs from forks.

1reaction
aleksihaklicommented, Sep 7, 2019

@Nilansha permissions aren’t the problem on GitHub. You can make a fork, which creates a repository under your account, and then make the changes. When you go to the repository on GitHub and go to pull requests view you can just open a PR and it will show here. We can then merge it with one click. I hope this helps!

Read more comments on GitHub >

github_iconTop Results From Across the Web

django server code not updating - python - Stack Overflow
So solution is either restart apache sudo service apache2 restart (which is an overkill) or simply run touch wsgi.py , wherever your wsgi.py...
Read more >
How to upgrade Django to a newer version
(see Supported versions). Upgrading as each new Django release is available makes future upgrades less painful by keeping your code base up to...
Read more >
How to properly update Django version and all the project ...
Hello everyone,. so we have a Django web app deployed for some time and now we want to update from Django 2.2 to...
Read more >
Writing your first Django app, part 1
Writing your first Django app, part 1¶. Let's learn by example. Throughout this tutorial, we'll walk you through the creation of a basic...
Read more >
Writing your first Django app, part 1 - Django documentation
This tutorial is written for Django 1.8 and Python 3.2 or later. If the Django version doesn't match, you can refer to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found