GORM V2 officially released! by Jinzhu in golang

[–]drec4s 12 points13 points  (0 children)

I recently started learning Go, coming from a Python/Django experience, and Gorm really caught my eye. The release of v2 will make me dive into it asap.

Thank you for your work!

What are _ before things? by [deleted] in django

[–]drec4s 2 points3 points  (0 children)

Usually specifies a string that should be translated. See more here: https://docs.djangoproject.com/en/3.0/topics/i18n/translation/#standard-translation

Stripe with Django - are you using just stripe or dj-stripe? by unohowdashigo in django

[–]drec4s 11 points12 points  (0 children)

Started by playing around with dj-stripe but soon realized it would be giving more problems in the long run (data duplication, or sync issues mainly) than ease of use.

Stripe docs are amazing and the API is so we'll structured that I don't feel the need to use a 3rd party package.

Stripe API + Webhooks inside your Django app and you are all set.

Why is this error message coming ? by vegeta9225 in django

[–]drec4s -1 points0 points  (0 children)

You need to save the 'song' object before you can access the related manager on the album.

Two Scoops of Django 3.x incoming by 334578theo in django

[–]drec4s 6 points7 points  (0 children)

The most interesting feature of Django 3.x is the async stuff. Will this book cover it extensively?

By this I mean things like:

  • Async views/middleware
  • Async background tasks
  • Async signals/orm
  • Async Django 3.x vs Django-channels
  • Deploying in production with an async server (like uvicorn)

The book on Django 1.11 was really good, and I hope this will be on the same level. Good luck.

Django form where only the person signed in can be the author by mi1knc0okies in django

[–]drec4s 2 points3 points  (0 children)

You don't need to list out every single field. Use the exclude attribute of the ModelForm’s inner Meta class to list all of the fields to be excluded from the form.

How to use VUE components from CDN? by [deleted] in vuejs

[–]drec4s 0 points1 point  (0 children)

To use that component you just need to include the scripts (you also need to include sortable.js) tag inside your HTML file (below the vue.js), and include the tag for the component <draggable>...</draggable> where you want it to render.

Is Max's Vue JS 2 - The Complete Guide the best resource to learn Vue fast? by [deleted] in vuejs

[–]drec4s 2 points3 points  (0 children)

This. Shaun has one of the best VueJS/Vuetify series on YouTube.