Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add to admin intercace? #22

Open
iam-Robo opened this issue Jan 17, 2023 · 1 comment
Open

How to add to admin intercace? #22

iam-Robo opened this issue Jan 17, 2023 · 1 comment

Comments

@iam-Robo
Copy link

Hi guys
How should I Add Advertisers, Categories, and Ads using the Django admin interface?

@JIMMUGUNA789
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants