Skip to content

Commit

Permalink
update examples after name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Bomme committed Jun 20, 2024
1 parent ef30a27 commit 03f1bec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions general/management/commands/announcement_banner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
value of the cache.
Example usage:
python manage.py announcement_cache set "New feature!" "Now you can do this and that. <a href='/forum'>Learn more</a>"
python manage.py announcement_cache set "" "This banner will have no title. Now you can do this and that. <a href='/forum'>Learn more</a>"
python manage.py announcement_cache set "" "short text with a 60 seconds timeout" --timeout 60
python manage.py announcement_cache clear
python manage.py announcement_cache show
python manage.py announcement_banner set "New feature!" "Now you can do this and that. <a href='/forum'>Learn more</a>"
python manage.py announcement_banner set "" "This banner will have no title. Now you can do this and that. <a href='/forum'>Learn more</a>"
python manage.py announcement_banner set "" "short text with a 60 seconds timeout" --timeout 60
python manage.py announcement_banner clear
python manage.py announcement_banner show
"""
from django.conf import settings
Expand Down

0 comments on commit 03f1bec

Please sign in to comment.