Closed erik-stephens closed 6 years ago
I didn't have this issue, but it would be because I overrode thusly (for anyone else wondering how to):
DOMAIN['some-schema'].update({
'item_url': 'regex(".+")',
...
The issue is in decorators.py#L68. That value should reference the config object however, in my brief testing just using config.ITEM_URL
will not reference the appropriate setting.
@ralphsmith80 I think we're linking to the same line. For future reference, you probably want to link to a specific commit instead of a branch since the lines will change over time - it's bitten me a couple of times before.
@erik-stephens I just submitted a pull request for this. The fix was crazy easy. If you can wait you can use my fork.
Needing to support non-integer ID's, I configured Eve with a custom
ITEM_URL
but this line has it hard-coded - should beconfig.ITEM_URL
. I can override another way but it may trip up others.