models.Model and define the database structure of a Django application. Each attribute corresponds to a database field.Harvard CS50W - Web Programming with Python & JavaScript
Master full-stack web development with this high-yield CS50W flashcard deck covering Django, JavaScript, HTML5/CSS, RESTful APIs, and web security.
Cards in this deck
(20 cards)Preview terms and definitions before starting your study session.
views.py that accept a web request object and return an HTTP response, such as rendered HTML or JSON data.{{ variable }} for displaying variables and {% tag %} for logic like loops and conditionals.urls.py via the path() function to specific view functions, using dynamic converters like <int:id> or <str:name>.makemigrations vs migrate)python manage.py makemigrations creates SQL migration instructions based on changes in models.py. python manage.py migrate applies those changes to the database.Model.objects.all() gets all records, .filter() retrieves matching records, and .get() fetches a single unique record.ModelForm) automatically generating inputs and saving instances directly to the database model.document.querySelector('#id'), updating text via .textContent, or altering structure via .innerHTML.Related Flashcard Sets
Explore similar study materials created by the community
Harvard CS50W - Web Programming with Python and JavaScript
Master full-stack web development with this high-yield flashcard deck for Harvard CS50W. Dive deep into Django ORM, RESTful APIs, JWT authentication, and asynchronous JavaScript for dynamic web applications.
Harvard CS50 Web Programming with Python and JavaScript
Master full-stack web development with this high-yield flashcard deck covering Harvard CS50W's core concepts. Dive into HTML5, CSS3, JavaScript, Python/Django, SQL, and React to build dynamic, data-driven web applications.
JLPT N2 - Upper-Intermediate Japanese Kanji, Grammar & Expressions
Master high-frequency JLPT N2 grammar patterns, critical reading transition words, and high-yield kanji compounds to boost your exam score.
CompTIA Network+ (N10-008) - Networking Fundamentals & Subnetting
Master key networking concepts, OSI layer troubleshooting, IPv4/IPv6 subnetting calculations, critical port numbers, and Wi-Fi standards for the CompTIA Network+ N10-008 exam.