A comprehensive Django web application for the Nepal Tea Association (NTA), a non-profit organization dedicated to promoting Nepali tea globally and supporting tea producers, manufacturers, sellers, and buyers.
The Nepal Tea Association website serves as a digital platform to:
- Promote Nepali tea culture internationally
- Connect local tea producers with global markets
- Provide educational resources about tea
- Manage organizational membership and activities
- Share news, events, and updates within the tea community
- Member Management: Board members and general members with detailed profiles
- News & Events: Content management system with slug-based routing
- Gallery: Image gallery for showcasing tea-related photos
- Contact System: Contact form with inquiry management
- Email Subscription: Newsletter subscription system
- Educational Content: Tea legends, health benefits, and cultural information
- Responsive design with mobile navigation
- SEO optimized with meta tags and sitemaps
- Image upload and management with automatic cleanup
- Django admin panel for content management
- User authentication system
- Social media integration
- Form validation and messaging system
- Backend: Django 4.0.3
- Database: SQLite
- Frontend: HTML5, CSS3, JavaScript, jQuery
- Icons: Font Awesome
- Python Version: Compatible with Python 3.8+
- Python 3.8 or higher
- pip (Python package installer)
- Virtual environment (recommended)
git clone <repository-url>
cd NepTeaAssociationpython -m venv env# Windows
source env/scripts/activate
# macOS/Linux
source env/bin/activatepip install -r requirements.txtpython manage.py makemigrations
python manage.py migratepython manage.py createsuperuserpython manage.py runserverThe application will be available at http://127.0.0.1:8000/
nepalteaassociation/
βββ nepalteaassociation/ # Main project directory
β βββ settings.py # Django settings
β βββ urls.py # Main URL configuration
β βββ wsgi.py # WSGI configuration
βββ home/ # Main application
β βββ models.py # Database models
β βββ views.py # View functions
β βββ urls.py # URL patterns
β βββ admin.py # Admin configuration
βββ templates/ # HTML templates
β βββ base.html # Base template
β βββ home/ # Home app templates
βββ static/ # Static files (CSS, JS, images)
βββ media/ # User uploaded files
βββ requirements.txt # Python dependencies
βββ manage.py # Django management script
- Name, position, description
- Social media links (Facebook, Instagram, Twitter)
- Profile photo upload
- Name, company information
- Contact details and website
- Profile photo upload
- Title, subtitle, content
- Featured image upload
- Slug-based URL routing
- Image uploads with titles
- Timestamp tracking
- Contact form submissions
- Inquiry categorization
- Debug mode: Currently set to
True(change for production) - Time zone:
Asia/Kathmandu - Language: English (
en-us)
- Static URL:
/static/ - Media URL:
/media/ - File uploads stored in
media/directory
Access the Django admin at /admin/ to:
- Manage board and general members
- Create and edit news articles
- Upload gallery images
- View contact form submissions
- Manage user accounts
- Home Page: Latest news, board members, and gallery highlights
- About Section: Organization information, history, objectives, services
- Tea Education: Legends, health benefits, cultural aspects
- Members: Board and general member directories
- News & Events: Latest updates and announcements
- Gallery: Photo collections
- Contact: Inquiry form and organization details
- Meta descriptions and keywords
- Canonical URLs
- Open Graph tags for social media
- Twitter card integration
- Sitemap support
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Create a Pull Request
This project is developed for the Nepal Tea Association. All rights reserved.
For production deployment:
- Set
DEBUG = Falsein settings.py - Configure proper database (PostgreSQL/MySQL)
- Set up static file serving
- Configure email backend for contact forms
- Set up proper domain and SSL certificate
- Configure environment variables for sensitive data
- v1.0: Initial release with core functionality
- Member management system
- News and events platform
- Gallery and contact features
- Educational content sections
- Responsive design implementation
Made with β€οΈ for the Nepal Tea Association