*** mjsir911 has joined #novawebdev | 08:52 | |
*** replaceafill has joined #novawebdev | 09:06 | |
*** mjsir911 has joined #novawebdev | 10:11 | |
*** replaceafill has joined #novawebdev | 10:27 | |
*** mr_german has joined #novawebdev | 10:36 | |
*** zOnny has joined #novawebdev | 10:40 | |
zOnny | mr_german: good morning! | 10:40 |
---|---|---|
zOnny | replaceafill: good morning | 10:43 |
mr_german | zOnny, hello | 10:43 |
replaceafill | zOnny, good morning | 10:43 |
zOnny | mr_german: I have a question | 10:44 |
mr_german | zOnny, YES? | 10:44 |
zOnny | mr_german: which should be the page that users will see once they click in events ? | 10:44 |
mr_german | zOnny, what do you mean? | 10:45 |
zOnny | mr_german: should be the calendar ? or list of events ? | 10:45 |
mr_german | zOnny, list of events it should be good no? | 10:45 |
zOnny | mr_german: cool | 10:46 |
zOnny | mr_german: I see jeff always looking at the google calendar and showing me his becoming events | 10:47 |
zOnny | mr_german: that is why I wondered | 10:47 |
mr_german | zOnny, what do you think it should be the best option? | 10:47 |
zOnny | mr_german: the list is fine | 10:48 |
zOnny | mr_german: it also includes the dates, yes ? | 10:48 |
mr_german | yes | 10:48 |
zOnny | mr_german: I noticed something that I did not see in tendenci7 in the events/page | 10:50 |
replaceafill | zOnny, what's different? | 10:57 |
zOnny | replaceafill: the list view button in tendenci7 and the vertical sidebar in tendenci11 | 11:00 |
zOnny | replaceafill: that is cool! | 11:01 |
zOnny | replaceafill: user can click monthly/ weeckly events :) | 11:01 |
zOnny | replaceafill: tey can even Download it :D | 11:02 |
zOnny | *they | 11:02 |
replaceafill | zOnny, do you understand why they weren't there in 7? | 11:03 |
zOnny | replaceafill: that is a good question | 11:04 |
replaceafill | zOnny, it's not necessary that you do | 11:04 |
replaceafill | zOnny, it's just a "byproduct" of the theme redesign | 11:05 |
replaceafill | zOnny, and how they cleaned the tendenci2018 theme because of it | 11:05 |
zOnny | replaceafill: ah | 11:05 |
replaceafill | zOnny, basically 11 doesn't have a lot of tendenci2018 templates | 11:07 |
replaceafill | zOnny, and relies a lot on the existing t7-base ones | 11:07 |
zOnny | replaceafill: right | 11:07 |
replaceafill | zOnny, compare: | 11:07 |
replaceafill | https://github.com/tendenci/tendenci-base-theme/blob/master/tendenci2018/templates/events/search.html | 11:07 |
replaceafill | vs | 11:08 |
replaceafill | https://github.com/tendenci/tendenci/blob/master/tendenci/themes/t7-base/templates/events/search.html | 11:08 |
replaceafill | zOnny, the first one is what we used to see | 11:08 |
replaceafill | zOnny, the second one is what you see now | 11:08 |
replaceafill | zOnny, look for "Download" and you'll see the difference | 11:08 |
zOnny | replaceafill: I noticed it when I was testing some templates | 11:08 |
zOnny | replaceafill: checking | 11:09 |
zOnny | replaceafill: one question | 11:23 |
replaceafill | zOnny, yes? | 11:23 |
zOnny | replaceafill: thinking | 11:24 |
replaceafill | brb while zOnny thinks of his question... | 11:26 |
zOnny | replaceafill: :D cool! | 11:26 |
zOnny | replaceafill: there is a chance to override events urls.py ? | 11:36 |
zOnny | replaceafill: I want to do something like this https://paste.pound-python.org/show/YR9ZjDI63AUTi3g86uRS/ | 11:38 |
replaceafill | zOnny, yes | 11:39 |
replaceafill | zOnny, do you want to change the logic of the view somehow? | 11:39 |
zOnny | replaceafill: yes | 11:39 |
replaceafill | zOnny, see https://gitlab.com/novawebdevelopment/tendenci_threaded_post/blob/master/urls.py | 11:40 |
zOnny | replaceafill: ah | 11:41 |
replaceafill | zOnny, threaded_post overrides some of the forums views | 11:41 |
zOnny | replaceafill: Here Did you started a new app ? | 11:41 |
zOnny | *start | 11:42 |
replaceafill | zOnny, you mean threaded_post? | 11:42 |
zOnny | replaceafill: yes | 11:42 |
replaceafill | zOnny, i don't usually use django-admin startapp | 11:42 |
zOnny | replaceafill: it makes sense | 11:42 |
replaceafill | zOnny, i just create the directory with the files i need | 11:42 |
zOnny | replaceafill: but we Do not want to create a new events app , yes ? | 11:42 |
replaceafill | zOnny, if you need it add it | 11:43 |
replaceafill | zOnny, or | 11:43 |
zOnny | replaceafill: ah | 11:43 |
replaceafill | zOnny, i think you'll need a libreorganize app | 11:43 |
replaceafill | zOnny, for this kind of things | 11:43 |
replaceafill | zOnny, you could also start calling your apps libreorganize-events and so on | 11:44 |
replaceafill | zOnny, for things you need to modify in tendenci | 11:44 |
zOnny | replaceafill: libre organize app importing what we need from tendenci ? | 11:44 |
replaceafill | zOnny, yes | 11:44 |
zOnny | replaceafill: makes sense | 11:45 |
replaceafill | zOnny, libreorganize becomes a "tendenci" app not a django app | 11:45 |
replaceafill | zOnny, see the README of event-attendance | 11:45 |
replaceafill | zOnny, "A Tendenci application that allows members to record their attendance at events" | 11:45 |
replaceafill | zOnny, i called them "tendenci" applications | 11:45 |
zOnny | replaceafill: libreorganize-events seems good to me | 11:45 |
replaceafill | zOnny, because they depend on tendenci | 11:45 |
replaceafill | zOnny, +1 | 11:46 |
zOnny | mr_german: you agree ? | 11:46 |
replaceafill | zOnny, and should focus obviously only on events logic | 11:46 |
zOnny | replaceafill: right | 11:46 |
replaceafill | zOnny, tomorrow when you need to override something in memberships | 11:46 |
replaceafill | zOnny, you create libreorganize-memberships | 11:46 |
zOnny | replaceafill: :D | 11:46 |
replaceafill | zOnny, it's harder to manage lots of little apps | 11:46 |
replaceafill | zOnny, but i think it's worth the trouble | 11:46 |
replaceafill | zOnny, since the little apps are easier to understand | 11:47 |
zOnny | replaceafill: can you tell me why you don't like to use django-admin.py startapp ? | 11:48 |
replaceafill | zOnny, it adds models, right? | 11:48 |
zOnny | replaceafill: right | 11:48 |
zOnny | replaceafill: no | 11:48 |
replaceafill | zOnny, why if you little app doesn't need that | 11:48 |
zOnny | replaceafill: ah | 11:48 |
replaceafill | zOnny, i remember it does | 11:48 |
replaceafill | zOnny, it adds views.py | 11:48 |
replaceafill | zOnny, same principle | 11:48 |
zOnny | replaceafill:but all of them are empty | 11:49 |
replaceafill | zOnny, yeah, that's the point | 11:49 |
replaceafill | zOnny, why having empty modules you don't need | 11:49 |
zOnny | replaceafill: you need __init__.py anyway | 11:49 |
replaceafill | zOnny, django uses conventions for few things | 11:50 |
zOnny | replaceafill: I will try creating a dir :) | 11:50 |
replaceafill | zOnny, i don't think you'll need new models for events | 11:50 |
replaceafill | zOnny, cool | 11:50 |
zOnny | replaceafill: I will need | 11:51 |
zOnny | replaceafill: events' models.py needs to be way simpler | 11:51 |
zOnny | replaceafill: even the simple form of tendenci's events is good enough | 11:52 |
zOnny | replaceafill: *isn't | 11:54 |
zOnny | replaceafill: I like the new version of Django because it doesn't include Regex anymore :D | 11:55 |
replaceafill | zOnny, why do you need custom models? | 13:30 |
replaceafill | zOnny, you sound like you want your own AMS | 13:30 |
replaceafill | zOnny, which is not bad, but difficult | 13:31 |
zOnny | replaceafill: because tendenci's models needs to be simple | 13:31 |
replaceafill | zOnny, why? | 13:32 |
replaceafill | zOnny, are you referring to "django models"? | 13:32 |
zOnny | replaceafill: yes | 13:32 |
replaceafill | zOnny, why do they *need* to be simple? | 13:33 |
zOnny | replaceafill: I know, but here are unnesessary fields. | 13:34 |
zOnny | replaceafill: one step at the time | 13:35 |
replaceafill | zOnny, they're not unnecessary for tendenci's purposes | 13:35 |
zOnny | replaceafill: I am struggling with my app sync :( | 13:35 |
replaceafill | zOnny, struggling? | 13:35 |
zOnny | replaceafill: kind of | 13:36 |
replaceafill | zOnny, what app sync? | 13:36 |
zOnny | replaceafill: libreorganize_events | 13:36 |
replaceafill | zOnny, i have no idea what your plan is | 13:37 |
replaceafill | zOnny, but i'll stay out of it :) | 13:37 |
zOnny | replaceafill: should I create templates dir ? | 13:37 |
replaceafill | zOnny, good luck | 13:37 |
replaceafill | zOnny, you call the shots | 13:37 |
zOnny | replaceafill: shoot :D | 13:37 |
replaceafill | zOnny, if you think you need a templates dir, go ahead and create it | 13:38 |
replaceafill | zOnny, but it sounds you're going the wrong way | 13:38 |
replaceafill | zOnny, if you think you need models | 13:38 |
zOnny | replaceafill: how is the way to fix the add events form so ? | 13:39 |
replaceafill | zOnny, why do you really need models to change forms? | 13:40 |
zOnny | replaceafill: I don't have enought experience with models yet | 13:43 |
replaceafill | zOnny, cool | 13:43 |
zOnny | replaceafill: I know there are the functions that make the labels display | 13:44 |
zOnny | replaceafill: what are the consequences on override it ? | 13:44 |
replaceafill | zOnny, i don't understand your question | 13:46 |
replaceafill | zOnny, want to hang out? | 13:46 |
zOnny | replaceafill: sure | 13:46 |
replaceafill | zOnny, https://demo.tendenci.com/events/939482934/ | 14:41 |
replaceafill | zOnny, https://demo.tendenci.com/events/camila/ | 14:41 |
*** mr_german has joined #novawebdev | 20:17 | |
*** mjsir911 has joined #novawebdev | 20:18 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!