30 Sep 2020 |
| @trevdev:matrix.org joined the room. | 02:47:22 |
| karl | 20:11:34 |
@trevdev:matrix.org | I'm having trouble finding information in the official documentation. I tend to chase my tail often. Any tips on finding information? | 02:50:48 |
@trevdev:matrix.org | I'm trying to find a reference for the icons available in the wagtail.core.blocks Meta properties for making streamfields. | 02:51:53 |
@trevdev:matrix.org | Found my way to this: https://docs.wagtail.io/en/v2.8.1/topics/streamfield.html | 02:54:20 |
@trevdev:matrix.org | Just had to talk it out, I guess. Enabled the style guide and fumbled to it in my learning project. | 03:05:10 |
| @scott:perthchat.org joined the room. | 21:48:03 |
2 Oct 2020 |
| enginhu joined the room. | 07:43:57 |
| @matthew:nltrix.net joined the room. | 23:20:59 |
3 Oct 2020 |
| @matthew:nltrix.net | 07:44:45 |
14 Oct 2020 |
@trevdev:matrix.org | I've successfully added a BooleanField to a Page's promote_panels and saved the data. My SQL explorer shows me the data's stored the way I saved it. However when I try to access the value of that Boolean Field in a template (or in a custom query) it shows up as a None type. | 00:46:21 |
@trevdev:matrix.org | Any idea where I might be going wrong? | 00:46:31 |
@trevdev:matrix.org | special_menu_item = models.BooleanField(
default=False,
verbose_name="Special Menu Item",
help_text="Emphasizes this page as a bold looking button in the menu"
)
| 00:46:42 |
@trevdev:matrix.org | promote_panels = AbstractEmailForm.promote_panels + [
MultiFieldPanel([
FieldPanel('special_menu_item')
], heading="Other Settings")
]
| 00:46:53 |
@trevdev:matrix.org | {% with "f6-ns f7 b ttu link bg-near-black ba br-1 bw1 yellow pv1 ph2" as emphasized %}
{% for page in navitems %}
<div class="{% if page.special_menu_item %}grow{% endif %}">
<a
class="{% if page.special_menu_item %}{{ emphasized }}{% endif %}"
href="{{ page.url }}">
{{ page.title }}
</a>
</div>
{% endfor %}
{% endwith %}
| 00:47:47 |
@trevdev:matrix.org | I can access other things from the promote tab, for instance, the {{ page.slug }} works. | 01:07:36 |
| @josefa:bau-ha.us left the room. | 18:50:14 |
12 Nov 2020 |
| peeterss joined the room. | 18:16:13 |
2 Dec 2020 |
| anobis joined the room. | 10:24:05 |
| anobis set a profile picture. | 11:00:42 |
10 Dec 2020 |
| @hateyou:matrix.org joined the room. | 05:11:01 |
| @hateyou:matrix.org left the room. | 05:11:14 |
21 Dec 2020 |
| @shangul:matrix.org joined the room. | 11:04:36 |
@shangul:matrix.org | Using wagtailmedia, any API which without an account somebody can upload media with some limits? | 11:08:18 |
@shangul:matrix.org | Let me ask the actual question: I want to create a site in which anyone can upload medias and anyone with an account and with the right permissions can view/listen to those medias. | 11:20:22 |
@shangul:matrix.org | I want some clues | 11:20:33 |
24 Dec 2020 |
| robin left the room. | 09:35:56 |
@shangul:matrix.org | Forget my question(s) | 19:50:12 |
| @shangul:matrix.org left the room. | 19:50:16 |
26 Dec 2020 |
| @lynn:privacytools.io left the room. | 11:44:36 |