We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In
django-ipware/ipware/defaults.py
Line 8 in cea6582
django-cas-ng has a different approach, but I would move django-cas-ng's settings to the apps module.
Suggesting similar so that settings.IPWARE_META_PRECEDENCE_ORDER will be defined with default value if it is not set when app is readied by Django.
settings.IPWARE_META_PRECEDENCE_ORDER
The text was updated successfully, but these errors were encountered:
Not true!
People who want to read instructions can do that by looking at the readme. https://github.com/un33k/django-ipware#precedence-order
Those who are coders and want to look around should see that
IPWARE_META_PRECEDENCE_ORDER = getattr(settings, ...)
It means => get the constant from the global settings.py, & if it's not found, then define a default value.
settings.py
So, users have the power to set their own precedence order in their settings.py.
Those who want per-call precedence orders can also pass those in, on each call, as per the link above.
Sorry, something went wrong.
@danizen django-ipware is on its way to being deprecated.
With that said, I have a python package that is going to replace it.
Have a look at python-ipware and if works for you switch to it.
Feedback is welcomed.
No branches or pull requests
In
django-ipware/ipware/defaults.py
Line 8 in cea6582
django-cas-ng has a different approach, but I would move django-cas-ng's settings to the apps module.
Suggesting similar so that
settings.IPWARE_META_PRECEDENCE_ORDER
will be defined with default value if it is not set when app is readied by Django.The text was updated successfully, but these errors were encountered: