IRC log of #jetrowebdev for Thursday, 2026-01-08

*** dcammue has quit (Quit: Quit)00:43
*** bennet has quit (Quit: Connection closed for inactivity)03:55
*** Damon has quit (Quit: Connection closed for inactivity)07:33
*** dcammue has quit (Read error: Connection reset by peer)07:49
*** dcammue has quit (Remote host closed the connection)07:50
*** Amar has quit (Quit: Connection closed for inactivity)08:25
*** anthony_p has quit (Ping timeout: 480 seconds)08:26
*** dcammue has quit (Remote host closed the connection)09:24
dcammueGood morning arya and devesh09:26
aryasorry I was asleeo good morning15:45
aryaasleep15:45
jelknerYou rock Thomas!16:33
jelknerGreat to see you here!16:33
jelknerAre you here thomasboimah?16:34
thomasboimahYes16:34
jelknerSuper.16:34
thomasboimahI am also in the novawebdev 16:34
jguraraHello guys16:34
thomasboimahHello jgurara 16:34
jelknerYeah, since we are meeting with you, not zOnny, let's meet here.16:34
jelknerYour call.16:34
thomasboimahsure16:35
thomasboimahThat's fine with me16:35
jelknerWe're all here now, so let's meet here.16:35
jelknerOur "big goal" is to integrate jgurara and Karaaaaa (and Ben, but he's not here this week) into our development team16:35
jelknerJust like zOnny it mentoring you, thomasboimah, we agreed you would mentor them, right?16:36
thomasboimahI will be glad to do that16:36
jelknersweet16:36
jelknerSo, let me share what we talked about on Tuesday16:38
jelknerand then i'll let you figure things out with them16:39
jelknerI asked Karaaaaa and jgurara what they were working on.16:39
jelknerThey both told me they were writing their own Todo apps16:39
jelknerthat made a lot of sense to me, since that is the default app in the official Django documentation these days I think16:40
jelkner(it used to be a blog)16:40
jelknerso, I suggested the following plan pending your approval thomasboimah:16:40
jelkner1. They get their own ToDo apps to the point where they think they are ready to show to others.16:40
jelkner2. You do a "show and tell" session where each of them shares their working version.16:41
jelkner3. You discuss how they should now join forces with you, thomasboimah, on the ToDo app we are writing for our own use16:41
jelknerDoe that make sense?16:41
thomasboimahNice!16:41
jelknerLOL, i keep telling them i was expecting a +116:42
jelknercool, i'll leave the 3 of you to chat then.16:42
thomasboimahThat is a great planning. We learning django by doing16:42
thomasboimahjelkner, and Karaaaaa can you guys please give me access to your todo's?16:43
Karaaaaayeah16:43
thomasboimahjgurara, 16:43
thomasboimahNOT jelkner 16:43
jguraraOkay16:43
Karaaaaahttps://codeberg.org/Karaaaaa/To-Do-App16:44
Karaaaaasorry ill add you one moment16:44
thomasboimahtboimah is my username16:44
Karaaaaai added you16:46
jgurarajust added you16:46
jgurarai will paste the link16:46
jgurarahttps://codeberg.org/gar821/django_stuff/src/branch/main/todoproject16:46
thomasboimahNice16:47
Karaaaaawhen would we want to meet to share our projects?16:47
thomasboimahThanks I am going to review that now16:47
thomasboimahI will be checking you guys repo everyday for changes to give feedback. Dose that sound good you?16:48
Karaaaaayeah!16:48
jguraraYeah16:48
thomasboimahOkay i am going to review Karaaaaa and jgurara code now. What file do you want me to start? ex. models.py, views.py, urls.py ect16:52
thomasboimah*Okay i am going to review Karaaaaa and jgurara code now. What file do you want me to start with? ex. models.py, views.py, urls.py etc16:53
Karaaaaamaybe views.py16:53
thomasboimahNice! before that do you guys want to ask me any question Karaaaaa and jgurara ?16:55
KaraaaaaI can't think of any right now16:55
jguraraI have no questions16:55
thomasboimahnice Karaaaaa i just view your file structure and it is great that you are making commit day by day. But i also have some question and suggestion concerning your file structure before i can move on reviewing your views.py17:02
Karaaaaayeah i really need to consolidate it17:02
thomasboimahI noticed you created multiple apps (createaccount, login, todo, todos). This is very common when we start learning Django, but it’s a good moment to talk about Django structure.17:05
Karaaaaayeah17:06
thomasboimahjgurara, can i be done with karaaa before we more on to you? I see that you structure you work good17:09
thomasboimah*your*17:09
jguraraSure17:09
thomasboimahnice!17:09
thomasboimahokay back to Karaaaaa 17:10
thomasboimahIn Django, an app usually represents a responsibility, not a single feature or page. For example17:11
thomasboimahAuth-related things (login, logout, signup) usually live in one accounts app17:12
Karaaaaaok, so like different sections of related things? so should i put the rest of my todo stuff in one app?17:13
thomasboimahToDo functionality should live in one app (todo or todos, not both)17:13
Karaaaaaok17:13
thomasboimahYes Karaaaaa Auth related things you should put it in one app like "accounts" and Todo functionality in one app like todo.17:14
Karaaaaaalright17:14
thomasboimahyou should choose between the todos and todo17:15
KaraaaaaI'll just stick with todo17:15
thomasboimahNice! is there any question?17:15
thomasboimahOr anything you don't understand Karaaaaa 17:16
KaraaaaaNo it makes a lot more sense now17:16
thomasboimahsweet17:16
thomasboimahnow i will move on to view jgurara code. Karaaaaa you want me to view you code too or you want to fix the file structure issue first?17:17
Karaaaaaill fix the file structure first so its easier for you17:18
Karaaaaaill finish that today17:18
thomasboimahGreat17:18
Karaaaaathanks17:18
thomasboimahYou are hardly welcome17:20
thomasboimahjgurara, I reviewed your views.py, and overall it is really solid work. Your use of class-based views, LoginRequiredMixin, user-scoped querysets, and the search logic with Q all show good understanding of Django 17:25
jgurarathanks17:25
thomasboimahBut There is a few improvements I want us to make, mainly around security and consistency17:26
jguraraOk17:26
thomasboimahYou can see that as you stories17:26
thomasboimahYou can see that as user stories17:26
thomasboimah1. Don't you think it will be great if you restrict access so users can only update or delete their own tasks, not just any task by ID. (TaskUpdateView and TaskDeleteView )17:29
jgurarayeah17:29
thomasboimahI noticed you’re mixing FBVs and CBVs. That’s okay, but for consistency, it’s good to reflect on why you chose an FBV here (mark_complete) and whether a CBV make sense there too.17:36
jgurara okay17:36
thomasboimahI hope you understanding that mean of FBVs and CBVs17:38
jguraraFunction based views, Class based views17:38
thomasboimahGreat!17:38
thomasboimahyou rock jgurara 17:38
jgurarathanks for the advice17:39
thomasboimahYou are hardly welcome jgurara 17:40
thomasboimahis there any questions?17:40
jguraraNone from me17:42
thomasboimahFor now jgurara , focus on adding the access restriction and thinking about the FBV/CBV choice. then we can complete the review for the views.py tomorrow then we can move on 17:43
thomasboimahIs that make sense to you?17:43
jguraraYes17:43
thomasboimahGreat i am going to make sure to clone you and Karaaaaa repo to my machine and run it17:44
jguraraok17:45
thomasboimahJust take me as the user for you guys app or customer. so I will be bring in user stories or request for new feature17:45
Karaaaaaalright17:46
thomasboimahAre you guys okay with that?17:46
jguraraYes17:46
Karaaaaayes17:46
thomasboimahNice17:46
thomasboimahI will still be have until your class over you can ask my any question you want17:47
thomasboimahI will still be here until your class over you can ask my any question you want17:47
thomasboimah*me*17:47
thomasboimahlol tepo error17:47
Karaaaaasounds good, we have about 7 minutes17:48
thomasboimahlol typo error17:48
thomasboimahWill you guys be here tomorrow?17:48
Karaaaaawe have this class every other day not on weekends so no unfortunately17:49
jguraraWe will be here on Monday17:49
Karaaaaabut i can talk over the weekend probably17:49
thomasboimahOkay17:49
jgurarai cant17:49
*** arya has quit (Quit: Connection closed for inactivity)17:53
Karaaaaaby thomasboimah have a good weekend if i dont come by17:54
jguraraClass is ending, see you next Monday, Thomas17:54
thomasboimahOkay you too17:54
*** Karaaaaa has quit (Quit: Leaving)17:54
*** jgurara has quit (Quit: Leaving)17:54
*** thomasboimah has quit (Remote host closed the connection)18:01
*** jelkner has quit (Remote host closed the connection)18:13
*** dcammue has quit (Ping timeout: 480 seconds)18:58
*** BigBrother has joined #jetrowebdev21:17
*** thomasboimah has quit (Remote host closed the connection)22:08

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