rjango 0.1.1

A full-stack Rust backend framework inspired by Django
Documentation
//! Default setting values aligned with Django's `django.conf.global_settings`.

pub const DEBUG: bool = false;
pub const SECRET_KEY: &str = "";
pub const SECRET_KEY_FALLBACKS: &[&str] = &[];
pub const ALLOWED_HOSTS: &[&str] = &[];
pub const INTERNAL_IPS: &[&str] = &[];

// Rjango-specific simplification of Django's DATABASES mapping.
pub const DATABASE_URL: &str = "";

pub const INSTALLED_APPS: &[&str] = &[];
pub const MIDDLEWARE: &[&str] = &[];

pub const ROOT_URLCONF: &str = "";
pub const APPEND_SLASH: bool = true;
pub const PREPEND_WWW: bool = false;

pub const LANGUAGE_CODE: &str = "en-us";
pub const TIME_ZONE: &str = "America/Chicago";
pub const USE_TZ: bool = true;
pub const USE_I18N: bool = true;
// Django removed USE_L10N in modern versions; Rjango keeps the legacy switch.
pub const USE_L10N: bool = true;

// Django defaults STATIC_URL to None; Rjango models it as an empty string.
pub const STATIC_URL: &str = "";
pub const STATIC_ROOT: Option<&str> = None;
pub const STATICFILES_DIRS: &[&str] = &[];

pub const CSRF_COOKIE_NAME: &str = "csrftoken";
pub const CSRF_COOKIE_SECURE: bool = false;
pub const SESSION_COOKIE_NAME: &str = "sessionid";
pub const SESSION_COOKIE_SECURE: bool = false;
pub const SECURE_SSL_REDIRECT: bool = false;

pub const EMAIL_BACKEND: &str = "django.core.mail.backends.smtp.EmailBackend";
pub const DEFAULT_FROM_EMAIL: &str = "webmaster@localhost";
// Rjango exposes a simplified logging level derived from Django's default logging config.
pub const LOGGING_LEVEL: &str = "INFO";