This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="text-center"> | |
| {% if pages.has_other_pages %} | |
| <ul class="pagination"> | |
| {% if pages.has_previous %} | |
| <li> | |
| <a href="?page=1{% querystring request %}">««</a> | |
| </li> | |
| <li> | |
| <a href="?page={{ pages.previous_page_number }}{% querystring request %}">«</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "container_commands": { | |
| "celery_configure": { | |
| "command": "mv /tmp/100_celery_worker.sh /opt/elasticbeanstalk/hooks/appdeploy/post && chmod 774 /opt/elasticbeanstalk/hooks/appdeploy/post/100_celery_worker.sh", | |
| "leader_only": true | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| files: | |
| "/tmp/100_celery_worker.sh": | |
| mode: "000755" | |
| owner: root | |
| group: root | |
| content: | | |
| #!/bin/sh | |
| # for_log_and_pid | |
| mkdir -p /var/log/celery/ /var/run/celery/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django import template | |
| register = template.Library() | |
| from templatetag_sugar.register import tag | |
| from templatetag_sugar.parser import Constant, Variable, Name | |
| from .utils import get_next_or_previous | |
| """ | |
| Efficient and generic get next/previous tags for the Django template language, |