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

change text --- "Patch Management Dashboard for example.com"--- #204

Closed
stlinux opened this issue May 9, 2020 · 4 comments
Closed

change text --- "Patch Management Dashboard for example.com"--- #204

stlinux opened this issue May 9, 2020 · 4 comments

Comments

@stlinux
Copy link

stlinux commented May 9, 2020

Hello, I need to remove this message and show a personalized one.

Patch Management Dashboard for example.com

I would appreciate help to understand what I have to configure.

Thank you very much, regards.

Norman.

@stlinux stlinux changed the title remove tesxt "Patch Management Dashboard for example.com" change text --- "Patch Management Dashboard for example.com"--- May 9, 2020
@furlongm
Copy link
Owner

If you go into the admin section, you can change the site name from example.com to whatever you want.

@stlinux
Copy link
Author

stlinux commented May 12, 2020

Brilliant.

I modified it based on your comment and it worked correctly.

Thank you.

@skatsaounis
Copy link

@stlinux Hi, in case of caching (eg. memcache) you may need to clear cache as well to make it work:

# python3 manage.py shell
from django.contrib.sites.models import Site
from django.conf import settings
Site.objects.filter(pk=settings.SITE_ID).update(
    name='my_awesome_site_name', domain='my_awesome_site_name_domain')
Site.objects.clear_cache()

@skatsaounis
Copy link

In our Patchman installation we have created management commands and this one is done by simply running: python manage.py set_site --name my_awesome_site_name --clear-cache.

If @furlongm is going to accept #194 this command will be available to upstream as well.

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

3 participants