2stacks / freeradius-django

A freeradius container for use with django-freeradius
http://www.2stacks.net/freeradius-django/
MIT License
13 stars 1 forks source link

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page. #13

Open rallep71 opened 4 years ago

rallep71 commented 4 years ago

Ok, is Debug mod True,

i became this debugtrue go to admin http://0.0.0.0:8000/admin came this debugadmin

is debug in settings False came this debugfalse so far so good and admin page this debugadminfalse

there are then presentation problems

2stacks commented 4 years ago

This repository is only for the Freeradius container that integrates with the django application.

I prefer to address any issues with the django app here - https://github.com/openwisp/django-freeradius. In the mean time, can you tell me what you did to disable debug in django?

rallep71 commented 4 years ago

I did debugmode in settings.py (django) set on False.

freeradius-django/django-freeradius/tests

import os import sys

import environ

BASE_DIR = os.path.dirname(os.path.abspath(file)) TESTING = sys.argv[1] == 'test'

root = environ.Path(file) - 2 env = environ.Env(DEBUG=(bool, False)) environ.Env.read_env()

DEBUG = False

ALLOWED_HOSTS = []