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

AttributeError: 'Settings' object has no attribute 'FREERADIUS_RADCHECK_SECRET_MIN_LENGTH' #6

Open
heitormsouza opened this issue Apr 8, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@heitormsouza
Copy link

Following the installation procedure, encountered the following error:
File "/root/django-freeradius-manager/freerad_manager/django_freeradius/forms.py", line 23, in RadiusCheckAdminForm
min_length=settings.FREERADIUS_RADCHECK_SECRET_MIN_LENGTH,
File "/root/django-freeradius-manager/env/lib/python3.8/site-packages/django/conf/init.py", line 83, in getattr
val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'FREERADIUS_RADCHECK_SECRET_MIN_LENGTH'

Environment: ubuntu server 20.04

Thanks

@peppelinux
Copy link
Member

Please add FREERADIUS_RADCHECK_SECRET_MIN_LENGTH to your project settings

If possible and of you can, please open a PR to add this hint in the readme/doc

@peppelinux peppelinux added the documentation Improvements or additions to documentation label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants