Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,8 @@ __pycache__/

# Pipenv
/requirements.txt

# Static files (runtime)
serveradmin/_static
serveradmin/_media

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Generated by Django 4.2.30 on 2026-06-12 14:08

from django.db import migrations, models
import serveradmin.graphite.validators


class Migration(migrations.Migration):

dependencies = [
('graphite', '0002_template_and_variation_name_validation'),
]

operations = [
migrations.AlterField(
model_name='collection',
name='params',
field=models.TextField(blank=True, help_text='\n Part of the URL after "?" to GET the graph or the value from\n the Graphite. It will be concatenated with the params for\n the template and the variation. Make sure it doesn\'t include\n any character that doesn\'t allowed on URL\'s. Also do not include "?"\n and do not put "&" at the end.\n\n The params can include variables inside curly brackets like\n "{hostname}".\n Variables can be any string attribute except multiple ones related to\n the servers. See Python String Formatting documentation [1] for other\n formatting options. The dots inside the values are replaced with\n underscores in advance. If you need to include a brace character in\n the parameters, it can be escaped by doubling: \'{{ and }}\'.\n\n Example params:\n\n width=500&height=500\n\n [1] https://docs.python.org/2/library/string.html#formatstrings\n ', validators=[serveradmin.graphite.validators.validate_unique_uri_parameters]),
),
migrations.AlterField(
model_name='numeric',
name='params',
field=models.TextField(blank=True, help_text='Same as the params of the collections', validators=[serveradmin.graphite.validators.validate_unique_uri_parameters]),
),
migrations.AlterField(
model_name='template',
name='params',
field=models.TextField(blank=True, help_text='\n Same as the params of the collections.\n ', validators=[serveradmin.graphite.validators.validate_unique_uri_parameters]),
),
migrations.AlterField(
model_name='variation',
name='params',
field=models.TextField(blank=True, help_text='\n Same as the params of the collections.\n ', validators=[serveradmin.graphite.validators.validate_unique_uri_parameters]),
),
]
Loading