File: django.html

package info (click to toggle)
python-django-waffle 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 684 kB
  • sloc: python: 3,266; makefile: 139; sh: 39; javascript: 34
file content (43 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% load waffle_tags %}
{% flag flag %}
  flag on
{% else %}
  flag off
{% endflag %}


{% switch switch %}
  switch on
{% else %}
  switch off
{% endswitch %}


{% sample sample %}
  sample on
{% else %}
  sample off
{% endsample %}


{% flag flag_var %}
  flag_var on
{% else %}
  flag_var off
{% endflag %}


{% switch switch_var %}
  switch_var on
{% else %}
  switch_var off
{% endswitch %}


{% sample sample_var %}
  sample_var on
{% else %}
  sample_var off
{% endsample %}

{% wafflejs %}