{"title":"Λεξιλόγιο","version":"3.2","locale":"el","docname":"glossary","url":"/el/3.2/glossary/","canonical":"https://djangodocs.dev/el/3.2/glossary/","summary":"Μη αφηρημένο μοντέλο Link to this term # Ένα μη αφηρημένο ( abstract=False ) μοντέλο πεδίο Link to this term # Ένα attribute ενός μοντέλου . Ένα πεδίο, συνήθως,…","html":"<h1>Λεξιλόγιο<a class=\"heading-anchor\" href=\"#glossary\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<dl class=\"glossary\">\n<dt id=\"term-concrete-model\">Μη αφηρημένο μοντέλο<a class=\"heading-anchor\" href=\"#term-concrete-model\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Ένα μη αφηρημένο (<a class=\"reference internal\" href=\"/el/3.2/ref/models/options/#django.db.models.Options.abstract\" title=\"django.db.models.Options.abstract\"><code class=\"xref py py-attr docutils literal notranslate\"><span class=\"pre\">abstract=False</span></code></a>) μοντέλο</p>\n</dd>\n<dt id=\"term-field\">πεδίο<a class=\"heading-anchor\" href=\"#term-field\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Ένα attribute ενός <a class=\"reference internal\" href=\"#term-model\"><span class=\"xref std std-term\">μοντέλου</span></a>. Ένα πεδίο, συνήθως, αντιστοιχεί σε μια στήλη στη βάση δεδομένων.</p>\n<p>Δείτε στο άρθρο <a class=\"reference internal\" href=\"/el/3.2/topics/db/models/\"><span class=\"doc\">Μοντέλα</span></a>.</p>\n</dd>\n<dt id=\"term-generic-view\">generic view<a class=\"heading-anchor\" href=\"#term-generic-view\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Μια συνάρτηση <a class=\"reference internal\" href=\"#term-view\"><span class=\"xref std std-term\">view</span></a> η οποία παρέχει μια αφηρημένη/γενική υλοποίηση κοινών πρακτικών ή μοτίβων τα οποία εμφανίζονται κατά την ανάπτυξη ενός view.</p>\n<p>Δείτε στο άρθρο <a class=\"reference internal\" href=\"/el/3.2/topics/class-based-views/\"><span class=\"doc\">Class-based views</span></a>.</p>\n</dd>\n<dt id=\"term-model\">μοντέλο<a class=\"heading-anchor\" href=\"#term-model\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Τα μοντέλα αποθηκεύουν τα δεδομένα της εφαρμογής σας.</p>\n<p>Δείτε στο άρθρο <a class=\"reference internal\" href=\"/el/3.2/topics/db/models/\"><span class=\"doc\">Μοντέλα</span></a>.</p>\n</dd>\n<dt id=\"term-MTV\">MTV<a class=\"heading-anchor\" href=\"#term-MTV\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>«Model-template-view»; ένα μοτίβο του software, σχεδιαστικά όμοιο με το MVC, αλλά πιο περιγραφικό και συνδεδεμένο με το Django.</p>\n<p>Δείτε τις διαφορές στις <a class=\"reference internal\" href=\"/el/3.2/faq/general/#faq-mtv\"><span class=\"std std-ref\">συχνές ερωτήσεις</span></a>.</p>\n</dd>\n<dt id=\"term-MVC\">MVC<a class=\"heading-anchor\" href=\"#term-MVC\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p><a class=\"reference external\" href=\"https://en.wikipedia.org/wiki/Model-view-controller\">Model-view-controller</a>; ένα μοτίβο του software. Το Django <a class=\"reference internal\" href=\"/el/3.2/faq/general/#faq-mtv\"><span class=\"std std-ref\">ακολουθεί το MVC μέχρι ένα σημείο</span></a>.</p>\n</dd>\n<dt id=\"term-project\">project<a class=\"heading-anchor\" href=\"#term-project\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Ένα Python πακέτο – π.χ ένας φάκελος με αρχεία που περιέχουν τις απαραίτητες ρυθμίσεις για να ένα instance του Django. Αυτές οι ρυθμίσεις περιλαμβάνουν τη ρύθμιση της βάσης δεδομένων, επιλογές αποκλειστικά για να τρέξει το Django και διάφορες ρυθμίσεις για να τρέξει η εφαρμογή σας.</p>\n</dd>\n<dt id=\"term-property\">property<a class=\"heading-anchor\" href=\"#term-property\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Επίσης γνωστό και ως «managed attributes». Αποτελεί feature της Python από την έκδοση 2.2. Αυτός είναι ένας ωραίος τρόπος να υλοποιηθούν τα attributes των οποίων η χρήση μοιάζει με την πρόσβαση σε attribute αλλά η υλοποίηση τους χρησιμοποιεί κλήσεις μεθόδων.</p>\n<p>Δείτε στο <a class=\"reference external\" href=\"https://docs.python.org/3/library/functions.html#property\" title=\"(στη Python έκδοση 3.14)\"><code class=\"xref py py-class docutils literal notranslate\"><span class=\"pre\">property</span></code></a>.</p>\n</dd>\n<dt id=\"term-queryset\">queryset<a class=\"heading-anchor\" href=\"#term-queryset\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Ένα object το οποίο αναπαριστά ένα σετ από γραμμές (rows) που θα ληφθούν από τη βάση δεδομένων.</p>\n<p>Δείτε στο άρθρο <a class=\"reference internal\" href=\"/el/3.2/topics/db/queries/\"><span class=\"doc\">Πραγματοποιώντας queries</span></a>.</p>\n</dd>\n<dt id=\"term-slug\">slug<a class=\"heading-anchor\" href=\"#term-slug\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Μια μικρή ετικέτα για κάτι που αποτελείται μόνο από γράμματα, αριθμούς, κάτω παύλες ή παύλες. Συνήθως χρησιμοποιούνται στα URLs. Για παράδειγμα, σε ένα τυπικό blog URL:</p>\n<pre class=\"literal-block\"><a class=\"reference external\" href=\"https://www.djangoproject.com/weblog/2008/apr/12/\">https://www.djangoproject.com/weblog/2008/apr/12/</a><strong>spring</strong>/</pre>\n<p>η τελευταία λέξη (<code class=\"docutils literal notranslate\"><span class=\"pre\">spring</span></code>) αποτελεί το slug.</p>\n</dd>\n<dt id=\"term-template\">template<a class=\"heading-anchor\" href=\"#term-template\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Ένα κομμάτι κειμένου το οποίο μορφοποιεί τα δεδομένα προς εμφάνιση. Ένα template βοηθά στο διαχωρισμό της εμφάνισης των δεδομένων από τα ίδια τα δεδομένα.</p>\n<p>Δείτε στο άρθρο <a class=\"reference internal\" href=\"/el/3.2/topics/templates/\"><span class=\"doc\">Templates</span></a>.</p>\n</dd>\n<dt id=\"term-view\">view<a class=\"heading-anchor\" href=\"#term-view\"><span class=\"visually-hidden\">Link to this term</span><span aria-hidden=\"true\">#</span></a></dt><dd><p>Μια συνάρτηση η οποία είναι υπεύθυνη για να κάνει render μια σελίδα.</p>\n</dd>\n</dl>","rootId":"glossary","toc":[],"breadcrumbs":[],"prev":{"docname":"misc/distributions","title":"Διανομές του Django από τρίτους","url":"/el/3.2/misc/distributions/"},"next":{"docname":"releases/index","title":"Release notes","url":"/el/3.2/releases/"},"formats":{"html":"/el/3.2/glossary/","markdown":"/el/3.2/glossary.md","json":"/el/3.2/glossary.json"},"source":"https://github.com/django/django/blob/stable/3.2.x/docs/glossary.txt","official":"https://docs.djangoproject.com/el/3.2/glossary/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10"],"inLocales":["en","zh-hans","fr","ja","id","it","pt-br","ko","es","el","pl"]}