mirror of
https://github.com/thecyberlearn/quantum-ai-v3.git
synced 2026-08-18 16:32:57 +00:00
New features: - Job Posting Generator (4.00 AED): Creates professional job postings with detailed requirements, company culture integration, and SEO optimization - Social Ads Generator (7.00 AED): Creates compelling social media advertisements with platform-optimized copy and emoji support Technical improvements: - Individual agent architecture with namespaced templates - Real-time AJAX form submission without page reload - Wallet deduction only after successful processing - Platform-specific optimization (job posting: 6 platforms, social ads: 6 platforms) - Copy/download functionality for generated content - Comprehensive form validation and error handling Database changes: - Job posting specific fields: job_title, company_name, seniority_level, contract_type, location, language - Social ads specific fields: description, social_platform, include_emoji, language - Response models with structured content fields 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
749 B
Python
19 lines
749 B
Python
from django.contrib import admin
|
|
from .models import JobPostingGeneratorRequest, JobPostingGeneratorResponse
|
|
|
|
|
|
@admin.register(JobPostingGeneratorRequest)
|
|
class JobPostingGeneratorRequestAdmin(admin.ModelAdmin):
|
|
list_display = ['id', 'user', 'status', 'created_at', 'cost']
|
|
list_filter = ['status', 'created_at']
|
|
search_fields = ['user__email', 'user__username']
|
|
readonly_fields = ['id', 'created_at', 'processed_at']
|
|
ordering = ['-created_at']
|
|
|
|
|
|
@admin.register(JobPostingGeneratorResponse)
|
|
class JobPostingGeneratorResponseAdmin(admin.ModelAdmin):
|
|
list_display = ['id', 'request', 'success', 'created_at']
|
|
list_filter = ['success', 'created_at']
|
|
readonly_fields = ['id', 'created_at']
|
|
ordering = ['-created_at'] |