Python Django දන්න අය එන්ඩ

chinthaka156

Well-known member
  • Jun 26, 2008
    3,734
    4,807
    113
    එලකිරි හන්දිය
    Python Django වලින් project කරනවා නම් එක model එකට එක app එක ගානෙද හදන්නේ ? නැත්නම් සේරම මොඩල් වලට එක ඇප් එකයි da ?

    මොකද්ද බෙස්ට් practice එක ?

    I am newbie to python django.
     
    • Like
    Reactions: kinkon and asylum

    chamoda4lk

    Active member
  • Feb 18, 2010
    765
    149
    43
    It's usually app per module (not model). For example a payment section can be separate module. Admin panel is a module so it's a separate app. A reset api can be a separate app.

    If your product is simple and you are new to django just use a single app.
     

    PHBhagya

    Well-known member
  • Feb 26, 2020
    25,049
    3
    118,617
    113
    Gampaha
    මම දන්න පයිතන්
    Screenshot_2021_0222_151753.jpg
     

    chinthaka156

    Well-known member
  • Jun 26, 2008
    3,734
    4,807
    113
    එලකිරි හන්දිය

    datha galewwada?
    ------ Post added on Feb 22, 2021 at 3:58 PM

    ඩොකා නම් ගානට මගේ දත ගලෝනවා. බලන්න අච්චරයි මෙච්චරයි කිය කිය ගාන කපා ගන්නවා. දැනට මම 1800/=ක් විතර නිකන්ම ඩොකාලට පූජ කරලා තියෙනවා.

    එක එක එවුන්ගේ ගුබ්බෑයම් වලට යන්නේ නැතුව නිවාඩුවක් දාලා දත් වාට්ටු හරි පානදුරේ ඉස්පිරිතාලේ ක්ලිනික් එකට හරි යන්න කියලා.

    ප.ලි. - මාව දන්නේ කොහොමද ? ඔබ කවුද ? :O

    It's usually app per module (not model). For example a payment section can be separate module. Admin panel is a module so it's a separate app. A reset api can be a separate app.

    If your product is simple and you are new to django just use a single app.

    yeah. i just did small app. but i need to develop complete project from the scratch. can you suggest me best practice tutorial for me (if any) ?
    ------ Post added on Feb 22, 2021 at 4:05 PM
     

    chamoda4lk

    Active member
  • Feb 18, 2010
    765
    149
    43
    yeah. i just did small app. but i need to develop complete project from the scratch. can you suggest me best practice tutorial for me (if any) ?

    Bestma practice eka thamayi apps resuable component widiyata hadana eka saha app ekakin only eka wadak karana eka (do one thing and do it well - simillar to unix philosophy)

    Real world project ekaka habai meka karanna giyoth over enineering wenna ida thiyannawa.

    Official documentation me gana lokuwata best practice define karanna yanne na mokada eka ekkenage use cases godak wenas nisa.

    Poddak google kaloth "django app vs projects" godak medium articles walin idea ekak ganna puluwan wei
     
    • Love
    Reactions: chinthaka156

    Ne@

    Active member
  • Mar 11, 2011
    609
    81
    28
    Computer eke CPU eke, CPU schdduling wala වල තියෙන round robin algorithm එක මොඩිෆ්යි කරන එක
    Round robin algorithm eke time quantum එක අඩු කරලා algorithm එකේ perfomance වැඩි කරලා

    machine learning wala k-means kiyana clustering method ekath use karala

    Linux OS ekata , phython language eken, machine learningn wala k-means use wenna oni

    Mee wage project ekak karanna aya innawada machnla....