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

Working with the Clean-param section #152

Open
KitKat-ru opened this issue Apr 10, 2024 · 0 comments
Open

Working with the Clean-param section #152

KitKat-ru opened this issue Apr 10, 2024 · 0 comments

Comments

@KitKat-ru
Copy link

Users there is a need to manage the Clean-param section. Since this parameter only supports Yandex, It was not possible to find a working solution for the administration of this field. There is no such functionality in the current implementation of `django-robots'.

Example of changes:

  1. Templates - add a section to the generated file robot.txt
  2. Views - Add a method to get all clean_param objects from the Rule model.
  3. Model - add the clean_param field associated with M2M to the new CleanParam model.
  4. Model - create the CleanParam (example-name).
  5. Add the appropriate changes to the AdminForm.

Perhaps these changes can help library users implement a better SEO site setup.

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

1 participant