{% extends "admin/base_site.html" %} {% load i18n %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block content %}

{{ title }}

Note: This operation only affects the database and works even if servers are unreachable. Server connectivity is not required for moving links between servers.
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
{% csrf_token %}

📝 Comment Transformation (Optional)

Format: pattern -> replacement (leave empty to keep original comments)

🔧 Regular Expression Help & Examples:

✨ Common Examples:
  • ^(.*)$ -> [ServerA] $1
    Add prefix to all comments
  • ^(.*)$ -> $1 (moved)
    Add suffix to all comments
  • ^$ -> Default Device
    Replace empty comments
  • phone -> mobile
    Replace specific word
  • ^(.*)(phone|mobile)(.*)$ -> $1device$3
    Replace phone/mobile with device
🚀 Advanced Examples:
  • ^(.+) - (.+)$ -> $2: $1
    Swap parts separated by " - "
  • (\d{4})-(\d{2})-(\d{2}) -> $3/$2/$1
    Change date format YYYY-MM-DD to DD/MM/YYYY
  • ^(.{1,20}).*$ -> $1...
    Truncate long comments to 20 chars
  • ([a-zA-Z]+)\s+(\d+) -> $1_$2
    Replace spaces with underscores in "word number"
💡 Tips:
  • Use $1, $2, $3... to reference captured groups in parentheses
  • Use ^ for start of string, $ for end of string
  • Use .* to match any characters, .+ to match one or more characters
  • Test your regex carefully - invalid patterns will show an error
  • Leave empty to keep original comments unchanged
{% endblock %}