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

admin fix, unable to modify device entry, getting error about Hex field #417

Closed
wants to merge 1 commit into from

Conversation

theromis
Copy link

No description provided.

@jamaalscarlett
Copy link
Member

@theromis this fix is not valid. The device_id field is not read-only and should not be read only in the django admin.

@theromis
Copy link
Author

theromis commented Aug 7, 2017

@jamaalscarlett In this case please tell me how I can edit GCM devices in admin, because when I'm saving device entry I'm getting error.

@jamaalscarlett
Copy link
Member

@theromis Which version are you using? And what device_id value are you attempting to save? A stacktrace would also be helpful.

@theromis
Copy link
Author

theromis commented Aug 8, 2017

my version is 1.5.0
attaching screenshot of save error
capture

@jamaalscarlett
Copy link
Member

@theromis what is the value you are trying to save?

@theromis
Copy link
Author

theromis commented Aug 8, 2017

15294002812468627586

@jamaalscarlett
Copy link
Member

Unfortunately this is a known issue with the HexIntegerField. There is an existing PR that should fix this: #386

@theromis
Copy link
Author

theromis commented Aug 9, 2017

Ah, in this case great, waiting for this PR approval.

@theromis theromis closed this Aug 9, 2017
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

Successfully merging this pull request may close these issues.

2 participants