
Start a Django 1.8.6 digital marketplace project by creating a virtual environment, installing Django, configuring gitignore, and previewing GitHub repository setup for source structure and version control.
Learn to run the development server, log in to the Django admin, and manage users as a secure window into the database, with password hashing and admin-based testing.
Explore how Django treats apps as cohesive modules that handle specific tasks, like admin and authentication, and how products and billing apps shape a project.
Define Django models to structure data with title and email fields, enforce max_length, add the app to settings, and run migrations to create the id field.
Master Django migrations by learning how to migrate, make migrations, squash migrations, and handle field changes like adding a sale price and removing a description.
Master creating and updating views for a Django product model using class-based views and model forms. Learn to customize templates, get context data, and a submit button mixin for forms.
Learn how foreign keys relate models in Django, linking products to users and enabling one-to-many, many-to-many, and one-to-one relationships; manage migrations, defaults, and related names for data ownership.
Explore how to use get_absolute_url and reverse in Django to create dynamic, slug-based product detail URLs and connect create views to the product list, using URL names and keyword arguments.
Explore how Django serves static and media files during testing, configure static and media URLs, and use the load static tag with collectstatic to manage assets efficiently.
Implement a Django product download view that serves files as an attachment, uses a file wrapper for large files, and links from the product detail via a dynamic download URL.
Create a Django my products model linked to users and products, migrate and register in admin, then enforce download permissions by checking user's owned products and returning 403 if unauthorized.
Explore reverse relationships in Django by linking tags to products via many-to-many and foreign keys. View related products and thumbnails using dot notation, context data, and custom template tags.
Learn to add and update product tags in Django using a comma-separated field, creating or retrieving tag objects and updating the many-to-many relationship.
Track tag views across products with a lightweight analytics app in Django, using a TagView model (user, tag, count) and get_or_create to increment counts for personalized recommendations.
Build a Django dashboard that recommends products from top viewed tags, filtering by those tags, excluding owned items, and randomizing results when needed.
Learn to implement a purchase confirmation dialog using jQuery UI in a Django marketplace by loading the libraries, creating a modal, and using confirm and cancel buttons.
Refine your Django Ajax workflow by extracting success and error handlers into a reusable request, handle authentication and status codes 401/403, and prepare a checkout Ajax flow.
Turn your purchase confirmation into an ajax request that adds the purchased product to the user's products via a checkout ajax view and product detail ajax call.
Explore building a Django class-based view using a form mixin to apply for a seller account, validate input, and manage post and get flows.
The lecture explains linking products to the seller account in a marketplace, updating the product model, enforcing a seller foreign key, and preparing migrations to relate transactions to seller accounts.
Show the active sale price using a price property and template logic, with safe rendering and red, strikethrough styling, and toggle preorder when no media while enabling vendor pages.
Create a curated products feature in Django by modeling curated items linked to users and products, admin-managed sections, and dynamic home page rendering with active filters.
Join the premium Coding for Entrepreneurs course for a discount: http://bit.ly/1hArWFg
Start the Marketplace Project
Setup the Settings and Urls files.
Create the Models.py for the app Product: Product, ProductImage, Tag, Category, CategoryImage.
The Product App Admin.
More on the Product Admin
Finishing up Product Admin
Add views so you can see the products on your html page(s).
Add views so you can see the products on your html page(s) part 2.
Add views so you can see the products on your html page(s) part 3.
Product Views Part 4
Introduction to Model Form to make changes to product data without the Django admin.
Introduction to Model Form to make changes to product data without the Django admin part 2.
Django Model Formset to edit multiple models at once using model formsets (based on model forms)
Django Model Formset to edit multiple models at once using model formsets (based on model forms)
Django Model Formset to edit multiple models at once using model formsets (based on model forms)
Begin the Process of adding Product Downloads to your Marketplace.
Serve the actual download.
Add the User's purchase model to enable downloads.
Create a python function to check a user's ownership of a product.
Create a library for all products owned by the user.
First step in creating the shopping cart.
Create the view to add products to your cart
Setup a view and html to view the cart.
Repurpose Add to Cart so we can use it to "Remove from Cart"
Introduction to Django Signals
Finish Off Cart Total
Implement a basic search function
Improve the search.
Add your Category List
Add Related Categories to your Category List.
Related Products on Product Page
Improve the Site's Navigation
Let's make this site look better. Often when it looks better, it even functions better.
Let's make this site look better. Often when it looks better, it even functions better.
Part 3 of adding Bootstrap to your project.
Update Navbar with Glyphicon.
Add the Home page and view
Dynamically add a "featured products" to your home page.
Dynamically add Featured Products to your Homepage.
Featured products and even featured details on the Jumbotron. Check it out.
Welcome message.
Start your project and run python manage.py syncdb
Setup your static files and serve them.
Add http://getbootstrap.com to your project.
Views handle url requests.
Add Django Registration to your project.
Setup Django to Send Emails.
Create a new Custom App and Use South and the Django Admin
Add a stripe account to a user by using Django Signals.
Create your Deals App
Using Model Admin and Model Forms
Add Twitter Boootstrap (getbootstrap.com) to your Admin template files and default forms.
Create the "Contact" app.
Add Bootstrap to Forms using Django Crispy Forms.
Show featured deals based on model boolean field and the current date and time.
What are Django URLs and how do they work?
Using "render" and "context" instead of "render_to_response" and "locals()" to show your data.
Get specific model data from your slugs.
Get Absolute URL is important for better direct links to your models.
Access the Archive for Deals
Add Pagination for Deals
Add the Model Manager.
Add a countdown timer to your project: http://keith-wood.name/countdown.html
Update your countdown timer (http://keith-wood.name/countdown.html)using Bootstrap's panel
Last updated: December 16th, 2015
Derek Sivers, founder of CDBaby, is a coding entrepreneur. He learned how to do it all from scratch and launched a multi-million dollar marketplace to help artists everywhere get their CDs sold.
This was 1998. Before most current web technologies and great frameworks like Django.
Sivers is an unusual coding entrepreneur because he never really considered himself a "programmer" or "entrepreneur" -- instead, Sivers saw there was something he wanted to do and figured out how to do it.
The word "Entrepreneur" is thrown around so much and has even spawned the word "Wantrapreneur" for those who talk but never take action.
It's time to throwaway the notion and labels. All we need is action.
This course, is the pinnacle of the Coding for Entrepreneurs series. We've learned so much from the 85k+ strong CFE community, that has help shaped this class into a improved version of the original.
Join us, while you learn to craft your own CDBaby for the modern day. Join us, to continue cultivating the mindset of "whatever needs to get done, I'll figure out to make it happen."
Cheers.
Justin