Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page not found #26

Closed
djcoin opened this issue Aug 23, 2016 · 2 comments
Closed

Page not found #26

djcoin opened this issue Aug 23, 2016 · 2 comments

Comments

@djcoin
Copy link

djcoin commented Aug 23, 2016

Hi there, thanks for the lib!

Well, so the pip is outdated, but I installed the version from master. I guess a page not found error when clicking on the button, here is the url : http://localhost:8000/admin/event/event/4/change/clone/ .
Error message: "event object with primary key u'4/change' does not exist."

Seems like an acute problem, does anyone have the same thing happening?

@bahendri
Copy link

Someone updated the get_url function without also updating the template. See bb3a835.

They forgot to modify change_form.html to point to the new path. href="clone/" should be changed to href="change/clone/"

davidkrisch pushed a commit that referenced this issue Nov 17, 2016
This replaces code that was removed in bb3a835.

Closes #26.
davidkrisch pushed a commit that referenced this issue Nov 17, 2016
This replaces the get_urls code that was removed in bb3a835.

Closes #26.
@davidkrisch
Copy link
Contributor

New version (0.6.1) on PyPi with this fix: https://pypi.python.org/pypi/django-modelclone/0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants