A Django-based adult entertainment website with content management, user authentication, and media handling capabilities.
- User Authentication: Registration, login, logout, and user profiles
- Content Management: Upload and manage videos, images, and galleries
- Categories & Tags: Organize content with categories and tags
- Search & Filtering: Search content and filter by category, tags, and sorting options
- Comments System: Users can comment on content
- Admin Panel: Full Django admin interface for content management
- Responsive Design: Modern, mobile-friendly UI with Bootstrap 5
-
Clone or navigate to the project directory:
cd C:\Users\ADMIN\PycharmProjects\Adult
-
Activate virtual environment (if using one):
pythonProject\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the website:
- Main site: http://127.0.0.1:8000/
- Admin panel: http://127.0.0.1:8000/admin/
Adult/
├── config/ # Main project configuration
│ ├── settings.py # Django settings
│ ├── urls.py # Main URL configuration
│ └── wsgi.py # WSGI configuration
├── accounts/ # User authentication app
│ ├── models.py # Custom User model
│ ├── views.py # Authentication views
│ └── forms.py # User forms
├── content/ # Content management app
│ ├── models.py # Content, Category, Tag models
│ ├── views.py # Content views
│ └── admin.py # Admin configuration
├── core/ # Core app (home page)
│ └── views.py # Home view
├── templates/ # HTML templates
│ ├── base.html # Base template
│ ├── core/ # Core templates
│ ├── accounts/ # Authentication templates
│ └── content/ # Content templates
├── static/ # Static files (CSS, JS, images)
│ └── css/
│ └── style.css # Custom styles
├── media/ # User-uploaded media files (created automatically)
├── manage.py # Django management script
└── requirements.txt # Python dependencies
- Log in to the admin panel at
/admin/ - Navigate to Content section
- Add Categories and Tags first
- Create Content entries with:
- Title and description
- Thumbnail image
- Video file or video URL
- Category and tags
- Content type (video, image, or gallery)
- Registration: Users can create accounts
- Profile: Users can update their profile information
- Browse: Users can browse all content with filtering options
- View: Users can view content details
- Comment: Authenticated users can comment on content
- The project uses SQLite by default (change in
settings.pyfor production) - Media files are stored in the
media/directory - Static files are collected in
staticfiles/when runningcollectstatic - Change
SECRET_KEYinsettings.pybefore deploying to production - Set
DEBUG = Falsein production and configureALLOWED_HOSTS
- Change the
SECRET_KEYinconfig/settings.py - Set
DEBUG = False - Configure proper
ALLOWED_HOSTS - Use a production database (PostgreSQL recommended)
- Set up proper media file serving (not via Django in production)
- Implement HTTPS
- Add rate limiting for uploads
- Implement content moderation
- Add age verification if required by law
- Review and comply with local regulations regarding adult content
This project is for educational purposes. Ensure compliance with all applicable laws and regulations in your jurisdiction.