GithubHelp home page GithubHelp logo

Comments (6)

calvh avatar calvh commented on May 22, 2024 1

Yes, thank you. I will draft some changes and put them here before I make a PR.

from django-locallibrary-tutorial.

hamishwillee avatar hamishwillee commented on May 22, 2024 1

No, thank you - I'm looking forward to learning something new :-)

from django-locallibrary-tutorial.

hamishwillee avatar hamishwillee commented on May 22, 2024

@calvh Thanks you. Fixtures certainly look like a useful feature (which I did not know about). But I'm not sure where they'd be useful in the context of this tutorial. Did you have any particular case in mind?

from django-locallibrary-tutorial.

calvh avatar calvh commented on May 22, 2024

I think they'd be useful somewhere around Section 4 where you add data via the admin site. Some people (like me) find it tedious to manually enter data and may want an alternative. It might be worth having two sets of fixtures:

  1. One around section 4 so readers can quickly test out the site
  2. Another with the updated models including the borrower field introduced in section 8

Am I allowed to work on this or is this project restricted to members only?

from django-locallibrary-tutorial.

hamishwillee avatar hamishwillee commented on May 22, 2024

Am I allowed to work on this or is this project restricted to members only?

You are absolutely allowed to work on this and that would be much appreciated. I think probably it should be added only in one place, and that should probably be either at the end of, or "below", https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Models (this might require modification of the admin section too).

First, the updates should be made and tested as the demo project would be at the end of the models chapter. My concern here is that the models are not "complete" here (there are "challenges") so we need to be clear that whatever we advise works at that point. Then further we should have an update as a PR to https://github.com/mdn/django-locallibrary-tutorial and to the docs.

Does that make sense?

from django-locallibrary-tutorial.

hamishwillee avatar hamishwillee commented on May 22, 2024

Closing as no action taken

from django-locallibrary-tutorial.

Related Issues (20)

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.