{% extends 'base.html' %} {% load staticfiles %} {% block stylesheets %} {{ block.super }} {% endblock stylesheets %} {% block button_bar %} Help {% endblock button_bar %} {% block content %}
{% for field in form %} {% if field.errors %} {% endif %} {% endfor %}
{{ form_header }}
    {% for err in field.errors %}
  • {{ err }}
  • {% endfor %}
{{ field.label_tag }} {{ field }}
Cancel
Preview and Continue
Update
{% csrf_token %}
Help
Overview
The bag batch generation feature creates the names for new bags by using a pattern provided by you, where certain letters get replaced by the various components specified above. The usable pattern or template keys are:
The manufacturing date and the material to use must both be specified in any case.
The variable part specifies a range, either numerical or alphabetical. The pattern keys may be repeated and may appear in any order. Invalid pattern keys are ignored. You may preview the expected results by hitting the update button. If you're happy with the results, hit accept to actually create the bags. Bags where the name already exists are skipped during the actual generation. The amount of generated bag names is limited to 200.
Examples
    • (using letter range)
    • fixed parts: Bag_, XY
    • var. start: AA, var end: ZZ
    • pattern: AVB
    • results in: Bag_AAXY, Bag_ABXY, ..., Bag_AZXY, Bag_BAXY, ...
    • (using numeric range)
    • fixed part (just A in this case): Bag
    • var. start: 1, var end: 66
    • pattern: AVA
    • results in: Bag1Bag, Bag2Bag, ... Bag66Bag
{% endblock content %} {% block scripts %} {{ block.super }} {% endblock %}