IRC log of #novawebdev for Thursday, 2018-11-22

*** mjsir911 has joined #novawebdev08:52
*** replaceafill has joined #novawebdev09:06
*** mjsir911 has joined #novawebdev10:11
*** replaceafill has joined #novawebdev10:27
*** mr_german has joined #novawebdev10:36
*** zOnny has joined #novawebdev10:40
zOnnymr_german: good morning!10:40
zOnnyreplaceafill: good morning10:43
mr_germanzOnny, hello10:43
replaceafillzOnny, good morning10:43
zOnnymr_german: I have a question10:44
mr_germanzOnny, YES?10:44
zOnnymr_german: which should be the page that users will see once they click in events ?10:44
mr_germanzOnny, what do you mean?10:45
zOnnymr_german: should be the calendar ? or list of events ?10:45
mr_germanzOnny, list of events it should be good no?10:45
zOnnymr_german: cool10:46
zOnnymr_german: I see jeff always looking at the google calendar and showing me his becoming events10:47
zOnnymr_german: that is why I wondered10:47
mr_germanzOnny, what do you think it should be the best option?10:47
zOnnymr_german: the list is fine 10:48
zOnnymr_german: it also includes the dates, yes ?10:48
zOnnymr_german: I noticed something that I did not see in tendenci7 in the events/page10:50
replaceafillzOnny, what's different?10:57
zOnnyreplaceafill: the list view button in tendenci7 and the vertical sidebar in tendenci1111:00
zOnnyreplaceafill: that is cool!11:01
zOnnyreplaceafill: user can click monthly/ weeckly events :)11:01
zOnnyreplaceafill: tey can even Download it :D11:02
replaceafillzOnny, do you understand why they weren't there in 7?11:03
zOnnyreplaceafill: that is a good question11:04
replaceafillzOnny, it's not necessary that you do11:04
replaceafillzOnny, it's just a "byproduct" of the theme redesign11:05
replaceafillzOnny, and how they cleaned the tendenci2018 theme because of it11:05
zOnnyreplaceafill: ah11:05
replaceafillzOnny, basically 11 doesn't have a lot of tendenci2018 templates11:07
replaceafillzOnny, and relies a lot on the existing t7-base ones11:07
zOnnyreplaceafill: right11:07
replaceafillzOnny, compare:11:07
replaceafillzOnny, the first one is what we used to see11:08
replaceafillzOnny, the second one is what you see now11:08
replaceafillzOnny, look for "Download" and you'll see the difference11:08
zOnnyreplaceafill: I noticed it when I was testing some templates11:08
zOnnyreplaceafill: checking11:09
zOnnyreplaceafill: one question11:23
replaceafillzOnny, yes?11:23
zOnnyreplaceafill: thinking11:24
replaceafillbrb while zOnny thinks of his question...11:26
zOnnyreplaceafill: :D cool!11:26
zOnnyreplaceafill: there is a chance to override events ?11:36
zOnnyreplaceafill: I want to do something like this
replaceafillzOnny, yes11:39
replaceafillzOnny, do you want to change the logic of the view somehow?11:39
zOnnyreplaceafill: yes11:39
replaceafillzOnny, see
zOnnyreplaceafill: ah11:41
replaceafillzOnny, threaded_post overrides some of the forums views11:41
zOnnyreplaceafill: Here Did you started a new app ?11:41
replaceafillzOnny, you mean threaded_post?11:42
zOnnyreplaceafill: yes11:42
replaceafillzOnny, i don't usually use django-admin startapp11:42
zOnnyreplaceafill: it makes sense11:42
replaceafillzOnny, i just create the directory with the files i need11:42
zOnnyreplaceafill: but we Do not want to create a new events app , yes ?11:42
replaceafillzOnny, if you need it add it11:43
replaceafillzOnny, or11:43
zOnnyreplaceafill: ah11:43
replaceafillzOnny, i think you'll need a libreorganize app11:43
replaceafillzOnny, for this kind of things11:43
replaceafillzOnny, you could also start calling your apps libreorganize-events and so on11:44
replaceafillzOnny, for things you need to modify in tendenci11:44
zOnnyreplaceafill: libre organize app importing what we need from tendenci ?11:44
replaceafillzOnny, yes11:44
zOnnyreplaceafill: makes sense11:45
replaceafillzOnny, libreorganize becomes a "tendenci" app not a django app11:45
replaceafillzOnny, see the README of event-attendance11:45
replaceafillzOnny, "A Tendenci application that allows members to record their attendance at events"11:45
replaceafillzOnny, i called them "tendenci" applications11:45
zOnnyreplaceafill: libreorganize-events seems good to me11:45
replaceafillzOnny, because they depend on tendenci11:45
replaceafillzOnny, +111:46
zOnnymr_german: you agree ?11:46
replaceafillzOnny, and should focus obviously only on events logic11:46
zOnnyreplaceafill: right11:46
replaceafillzOnny, tomorrow when you need to override something in memberships11:46
replaceafillzOnny, you create libreorganize-memberships11:46
zOnnyreplaceafill: :D11:46
replaceafillzOnny, it's harder to manage lots of little apps11:46
replaceafillzOnny, but i think it's worth the trouble11:46
replaceafillzOnny, since the little apps are easier to understand11:47
zOnnyreplaceafill: can you tell me why you don't like to use startapp ?11:48
replaceafillzOnny, it adds models, right?11:48
zOnnyreplaceafill: right11:48
zOnnyreplaceafill: no11:48
replaceafillzOnny, why if you little app doesn't need that11:48
zOnnyreplaceafill: ah11:48
replaceafillzOnny, i remember it does11:48
replaceafillzOnny, it adds views.py11:48
replaceafillzOnny, same principle11:48
zOnnyreplaceafill:but all of them are empty11:49
replaceafillzOnny, yeah, that's the point11:49
replaceafillzOnny, why having empty modules you don't need11:49
zOnnyreplaceafill: you need anyway11:49
replaceafillzOnny, django uses conventions for few things11:50
zOnnyreplaceafill: I will try creating a dir :)11:50
replaceafillzOnny, i don't think you'll need new models for events11:50
replaceafillzOnny, cool11:50
zOnnyreplaceafill: I will need11:51
zOnnyreplaceafill: events' needs to be way simpler 11:51
zOnnyreplaceafill: even the simple form of tendenci's events is good enough11:52
zOnnyreplaceafill: *isn't11:54
zOnnyreplaceafill: I like the new version of Django because it doesn't include Regex anymore :D11:55
replaceafillzOnny, why do you need custom models?13:30
replaceafillzOnny, you sound like you want your own AMS13:30
replaceafillzOnny, which is not bad, but difficult13:31
zOnnyreplaceafill: because tendenci's models needs to be simple13:31
replaceafillzOnny, why?13:32
replaceafillzOnny, are you referring to "django models"?13:32
zOnnyreplaceafill: yes13:32
replaceafillzOnny, why do they *need* to be simple?13:33
zOnnyreplaceafill: I know, but here are unnesessary fields.13:34
zOnnyreplaceafill: one step at the time 13:35
replaceafillzOnny, they're not unnecessary for tendenci's purposes13:35
zOnnyreplaceafill: I am struggling with my app sync :(13:35
replaceafillzOnny, struggling?13:35
zOnnyreplaceafill: kind of13:36
replaceafillzOnny, what app sync?13:36
zOnnyreplaceafill: libreorganize_events13:36
replaceafillzOnny, i have no idea what your plan is13:37
replaceafillzOnny, but i'll stay out of it :)13:37
zOnnyreplaceafill: should I create templates dir ?13:37
replaceafillzOnny, good luck13:37
replaceafillzOnny, you call the shots13:37
zOnnyreplaceafill: shoot :D13:37
replaceafillzOnny, if you think you need a templates dir, go ahead and create it13:38
replaceafillzOnny, but it sounds you're going the wrong way13:38
replaceafillzOnny, if you think you need models13:38
zOnnyreplaceafill: how is the way to fix the add events form so ?13:39
replaceafillzOnny, why do you really need models to change forms?13:40
zOnnyreplaceafill: I don't have enought experience with models yet13:43
replaceafillzOnny, cool13:43
zOnnyreplaceafill: I know there are the functions that make the labels display13:44
zOnnyreplaceafill: what are the consequences on override it ?13:44
replaceafillzOnny, i don't understand your question13:46
replaceafillzOnny, want to hang out?13:46
zOnnyreplaceafill: sure13:46
*** mr_german has joined #novawebdev20:17
*** mjsir911 has joined #novawebdev20:18

Generated by 2.17.2 by Marius Gedminas - find it at!