{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit {{ object.display_name }}{% else %}Add New Tenant{% endif %} - {{ block.super }}{% endblock %} {% block content %}

{% if object %} Edit Tenant: {{ object.display_name }} {% else %} Add New Tenant {% endif %}

{% csrf_token %}
Basic Information
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors.0 }}
{% endif %}
Internal name for the organization (used in system)
{{ form.display_name }} {% if form.display_name.errors %}
{{ form.display_name.errors.0 }}
{% endif %}
Public-facing name shown to users
{{ form.organization_type }} {% if form.organization_type.errors %}
{{ form.organization_type.errors.0 }}
{% endif %}
{{ form.domain }} {% if form.domain.errors %}
{{ form.domain.errors.0 }}
{% endif %}
Custom domain for this tenant (optional)
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors.0 }}
{% endif %}
Brief description of the organization
Contact Information
{{ form.contact_email }} {% if form.contact_email.errors %}
{{ form.contact_email.errors.0 }}
{% endif %}
{{ form.contact_phone }} {% if form.contact_phone.errors %}
{{ form.contact_phone.errors.0 }}
{% endif %}
{{ form.website }} {% if form.website.errors %}
{{ form.website.errors.0 }}
{% endif %}
{{ form.timezone }} {% if form.timezone.errors %}
{{ form.timezone.errors.0 }}
{% endif %}
{{ form.address }} {% if form.address.errors %}
{{ form.address.errors.0 }}
{% endif %}
Configuration Settings
{{ form.max_users }} {% if form.max_users.errors %}
{{ form.max_users.errors.0 }}
{% endif %}
Leave empty for unlimited users
{{ form.storage_limit_gb }} {% if form.storage_limit_gb.errors %}
{{ form.storage_limit_gb.errors.0 }}
{% endif %}
Leave empty for unlimited storage
Status & Actions
{{ form.is_active }}
{% if object %} Deactivating will prevent users from accessing the system {% else %} New tenants are active by default {% endif %}
{% if object %}
{% endif %}
Cancel
Help & Guidelines

  • Use clear, descriptive names
  • Organization name should be unique
  • Display name is shown to users
  • Avoid special characters in names

  • Domain is optional but recommended
  • Use format: subdomain.yourdomain.com
  • Ensure DNS is properly configured
  • SSL certificate required for custom domains

  • Select only needed features
  • Features can be changed later
  • Some features may require additional setup
  • Contact support for custom features
{% endblock %}