django-ads
django-ads copied to clipboard
How to add to admin intercace?
Hi guys How should I Add Advertisers, Categories, and Ads using the Django admin interface?
Once you have installed django-ads and added 'ads' in installed apps within your settings.py you should make and run migrations.
python manage.py makemigrations
python manage.py migrate
If these two commands run successfully, then in the admin interface you should see a new section titled "ADS MANAGEMENT SYSTEM" with all the ads, ad clicks, ad impressions, advertisers and categories models. Next to each model name there is a "ADD " button to add records. Consider adding advertisers and categories before adding the ads.