Giter Site home page Giter Site logo

django-practical-guide-course-code's People

Contributors

maxschwarzmueller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-practical-guide-course-code's Issues

Video: Adding CSS Styling

Video doesn't mention correct file paths when including challenge.css and should look like this in the challenge.html file:

#{%block css_files%}
#<link rel="stylesheet" href="{% static "challenges/includes/challenge.css"%}">
#<link rel="stylesheet" href="{% static "challenges/challenges.css"%}">
#<link rel="stylesheet" href="{% static "challenges/includes/header.css"%}">
#{%endblock%}

Gave me and I presume other people 404 errors for the CSS files

adding a participant - problem

When I add a participant (his email address) using the form, the email address is added to all meetings, not just the one he joined.
I followed the whole tutorial and wrote the fixed code as well. Has anyone fixed this bug?

Problems with psycopg2 and AWS Elastic Beanstalk

In the beginning, everything was fine using only psycopg2-binary in my virtual environment. So I uploaded the code to EB and eveythings goes fine.

When you changed the strategy (start serving static and media files using S3), you needed to install django-storages and change some configurations at settings.py file. Creating static files using this new strategy seems to require psycopg2.extensions which is not available through the binary package (psycopg2-binary). To try to override this problem, I installed psycopg2 in my virtual environment and I could made the static files, but other problem arised: Elastic Beanstalk was not able to install psycopg2.

I came to a solution using this answer: https://stackoverflow.com/a/63204453/11122513

He added a file 01_packages.config inside .ebextensions with this content:

packages:
    yum:
        amazon-linux-extras: []

commands:
    01_postgres_activate:
        command: sudo amazon-linux-extras enable postgresql10
    02_postgres_install:
        command: sudo yum install -y postgresql-devel

Using this solution, EB was able to install psycopg2 and my app worked well again.
You course was really good, but I think the deployment section was a bit tricky and I had to spend some time to be able to do the deploy.

Thanks,
Igor

Hardcoded location value in multiple branches

in 'meetups/templates/meetups/index.html' the location value is hardcoded with 'New York' instead of using the item's value.

I created one PR: #6 but this happens in multiple branches prior to this final one

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.