{% extends "channels/base.html" %} {% load static %} {% load widget_tweaks %} {% block title %}{% if form.instance.pk %}Edit {{ form.instance.name }}{% else %}Add New Channel{% endif %} - {{ block.super }}{% endblock %} {% block breadcrumb_items %} {% if form.instance.pk %} {% else %} {% endif %} {% endblock %} {% block channels_content %}

{% if form.instance.pk %}Edit Channel{% else %}Add New Channel{% endif %}

Back
Channel Information
{% csrf_token %} {% if form.non_field_errors %} {% endif %}
{{ form.name|add_class:"form-control" }} {% if form.name.errors %}
{% for error in form.name.errors %} {{ error }} {% endfor %}
{% endif %}
Enter the official channel name
{{ form.channel_type|add_class:"form-select" }} {% if form.channel_type.errors %}
{% for error in form.channel_type.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.country|add_class:"form-select" }} {% if form.country.errors %}
{% for error in form.country.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.language|add_class:"form-control" }} {% if form.language.errors %}
{% for error in form.language.errors %} {{ error }} {% endfor %}
{% endif %}
Primary language of the channel content
{{ form.content_rating|add_class:"form-select" }} {% if form.content_rating.errors %}
{% for error in form.content_rating.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.is_active|add_class:"form-check-input" }} {% if form.is_active.errors %}
{% for error in form.is_active.errors %} {{ error }} {% endfor %}
{% endif %}
Enable this channel for broadcasting
{{ form.description|add_class:"form-control" }} {% if form.description.errors %}
{% for error in form.description.errors %} {{ error }} {% endfor %}
{% endif %}
Brief description of the channel and its content
{{ form.website|add_class:"form-control" }}
{% if form.website.errors %}
{% for error in form.website.errors %} {{ error }} {% endfor %}
{% endif %}
Official website URL (optional)
{{ form.logo|add_class:"form-control" }} {% if form.logo.errors %}
{% for error in form.logo.errors %} {{ error }} {% endfor %}
{% endif %}
Upload channel logo (PNG, JPG, SVG - Max 2MB)
{% if form.instance.logo %}
Current Logo
Current Logo
{% else %}
No logo uploaded
{% endif %}
{% if form.instance.pk %} {% endif %}
Cancel
Help & Guidelines
Channel Types
  • Terrestrial: Over-the-air broadcast channels
  • Cable: Cable television channels
  • Satellite: Satellite broadcast channels
  • Streaming: Internet streaming channels
  • IPTV: Internet Protocol Television
Content Ratings
  • G: General audiences
  • PG: Parental guidance suggested
  • PG-13: Parents strongly cautioned
  • R: Restricted
  • NC-17: Adults only
Logo Requirements
  • Recommended size: 200x200 pixels
  • Supported formats: PNG, JPG, SVG
  • Maximum file size: 2MB
  • Transparent background preferred
Tip: After creating a channel, you can configure distribution zones, add jingles, and set up EPG entries from the channel detail page.
{% if form.instance.pk %}
Channel Preview
{% if form.instance.logo %} {{ form.instance.name }} {% else %}
{% endif %}
{{ form.instance.name }}

{{ form.instance.get_channel_type_display }}

{{ form.instance.country.name }} {{ form.instance.language }} {% if form.instance.is_active %}Active{% else %}Inactive{% endif %}
{% endif %}
{% if form.instance.pk %} {% endif %} {% endblock %} {% block extra_footer_js %} {% endblock %}