Skip to content

'NoneType' object has no attribute 'get_absolute_url' #11112

Answered by markkuleinio
f2ed asked this question in Q&A
Discussion options

You must be logged in to vote

Now, this is just a wild guess, but if I understood the error location correctly, my guess is that you somehow have IP address object(s) that have inconsistent assigned_object_id and/or assigned_object_type values. I see the error location (

linkify=lambda record: record.assigned_object.get_absolute_url(),
) was added in 3.3.6 (53c9c3c) so the problem presented itself at that point.

I, for one, had that kind of data problems for some IP objects a long time ago, I detected and fixed them using the API.

Replies: 4 comments 27 replies

Comment options

You must be logged in to vote
17 replies
@arnaud-asp
Comment options

@candlerb
Comment options

@markkuleinio
Comment options

@candlerb
Comment options

@markkuleinio
Comment options

Answer selected by f2ed
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@bluikko
Comment options

@candlerb
Comment options

@bluikko
Comment options

@bluikko
Comment options

@candlerb
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants