Skip to content

Repository files navigation

Django TV App Backend

This is a Django project with admin panel for managing TV app content.

Setup Instructions

  1. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run migrations:

    python manage.py migrate
  4. Create a superuser (admin account):

    python manage.py createsuperuser

    Follow the prompts to create your admin account.

  5. Run the development server:

    python manage.py runserver
  6. Access the admin panel: Open your browser and go to: http://127.0.0.1:8000/admin/ Login with the superuser credentials you created.

Database Configuration

The project is configured to use MySQL with the following settings:

  • Database: prayer2
  • Host: localhost
  • Port: 8889
  • User: prayer2

Make sure MySQL is running and the database exists before running migrations.

Project Structure

  • config/ - Django project configuration
  • core/ - Main application with models and admin
  • manage.py - Django management script
  • requirements.txt - Python dependencies

Models

  • Category: For organizing content
  • Content: Main content model with title, description, video URL, etc.

Admin Panel Features

The admin panel includes:

  • Category management
  • Content management with filtering and search
  • User authentication
  • Media file handling

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages