IRC log of #novawebdev for Thursday, 2018-10-25

*** mjsir911 has joined #novawebdev09:19
*** replaceafill has joined #novawebdev11:25
*** mr_german has joined #novawebdev11:47
*** mjsir911 has joined #novawebdev12:38
*** mjsir911 has joined #novawebdev14:05
*** mjsir911 has joined #novawebdev14:50
*** mjsir911 has joined #novawebdev15:06
replaceafillACTION goes to get lunch, bb in ~4015:20
mr_germanreplaceafill, one question, all templates and media should be in the app or in themes16:00
replaceafillmr_german, what templates?16:15
mr_germanbase.html, homepage.html etc16:19
mr_germanshould be all in the app16:19
mr_german?16:19
replaceafillmr_german, i don't understand what you mean16:24
replaceafillmr_german, what app?16:24
mr_germanlibre organize app16:24
mr_germanfor tendenci16:24
replaceafillmr_german, it depends on how you plan to extend it for different customers16:25
replaceafillmr_german, say you want a ORA version, how do you do that?16:26
replaceafillmr_german, or a NOVALACIRO version16:26
replaceafillmr_german, and so on16:26
replaceafillmr_german, tendenci currently handles that with custom context processors16:26
replaceafillmr_german, which look for the themes/<THEME_NAME>/...16:27
replaceafillmr_german, that's a possibility16:27
replaceafillmr_german, if you're starting from scratch, doing something new, you're free to decide16:27
mr_germanreplaceafill, mmm, i was doing a app in tendendi project and then a new theme in 'themes' for that16:27
replaceafillmr_german, problem with that approach is that you need two repos, right?16:28
replaceafillmr_german, and your themes won't be able to change behaviour of the app16:28
replaceafillmr_german, you know django has a predefined look up order for templates, right?16:29
mr_germanreplaceafill, yes16:29
replaceafillmr_german, that's the other approach you can use16:30
replaceafillmr_german, include the apps in the right order16:30
replaceafillmr_german, kind of what we do with helios16:30
mr_germanreplaceafill, i can "export" apps like memberships16:31
mr_germanright?16:31
mr_germanimport*16:31
mr_germanlike jinja tags, etc16:31
replaceafillmr_german, i don't understand what you mean16:31
mr_germanlike these ones "{% load i18n %} {% load base_filters %}"16:32
replaceafillmr_german, that's call loading16:32
replaceafillmr_german, and that works for tags, not apps16:32
mr_germanyeah buy i can use them16:32
mr_germanin my app16:32
mr_germanright?16:32
replaceafillmr_german, if the project has them in INSTALLED_APPS you can16:32
mr_germaneven if they are out "themes" folder16:32
mr_germanohh16:32
mr_germancool16:32
replaceafillmr_german, the right term for that is not app, it's library btw16:34
replaceafillhttps://docs.djangoproject.com/en/1.11/ref/templates/builtins/#std:templatetag-load16:34
mr_germanreplaceafill, good to know16:35
mr_germanthat16:35
*** zOnny has joined #novawebdev19:10

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!