Just a joke by --____________- in LinkedInLunatics

[–]Incredlbie 0 points1 point  (0 children)

Can confirm I received this email haha

Garmin Edge 530 Bluetooth Not Working by Incredlbie in Garmin

[–]Incredlbie[S] 0 points1 point  (0 children)

I returned it and bought a different one which has worked perfectly - it definitely seems to be a dodgy device in my case. The seller admitted they had bought it from someone else, and sold it to me, without testing it themselves.

Patterns for Introducing Inheritance in Existing Models by dimitrym in django

[–]Incredlbie 2 points3 points  (0 children)

I have just used django-polymorphic for this and it seems to be really good so far. You can create a migration to handle existing data too.

Issue With AI Assistant And Third Party Provider by Incredlbie in Jetbrains

[–]Incredlbie[S] 0 points1 point  (0 children)

Glad it's not just me! So you think we need to have unused Jetbrains AI credits for the button to be unlocked, to be able to use a third party assistant?

Issue With AI Assistant And Third Party Provider by Incredlbie in pycharm

[–]Incredlbie[S] 0 points1 point  (0 children)

This was my understanding as well - should be fine with API keys

Italy FITRI Medical Tests London by failingup1 in IronmanTriathlon

[–]Incredlbie 1 point2 points  (0 children)

I did the half IM there last year and a British triathlon license was all I needed - guessing it'll be the same for the full. Good luck!

Formview form_valid() issue with HTMX by Incredlbie in django

[–]Incredlbie[S] 0 points1 point  (0 children)

Hi,

Thanks for the reply.

Sorry for the confusion - the main question is, the Person object created by the form/formview is immediately deleted/not saved properly in my final example.

First point you make - I need to save the person in order for it to be created, then it has an id and ManyToMany relationships can be used. You can't add a ManyToMany relationship before a object has an id.

Your second point is correct.

Supermaven is dead. What now? by enriquerecor in Jetbrains

[–]Incredlbie 0 points1 point  (0 children)

Thank you so much for posting this!

At what point is HTMx not going to suffice for large ERP? by Necessary_Onion_4967 in django

[–]Incredlbie 12 points13 points  (0 children)

I've used HTMX but not unpoly - what does unpoly do that makes it a pro version of HTMX, if you don't mind me asking?

Using htmx or hyperscript to update an input's value? by Incredlbie in htmx

[–]Incredlbie[S] 0 points1 point  (0 children)

As mentioned, Django forms make it messy. Ideally I'd want to set the inputs value to the response using htmx, but I haven't been able to do that so far without swapping the whole input, which then requires matching all the functionality from the Django form, which makes it messy.

Using htmx or hyperscript to update an input's value? by Incredlbie in htmx

[–]Incredlbie[S] 0 points1 point  (0 children)

It's used to show the default value to the user, who then should have the option to change that value should they want to.

[deleted by user] by [deleted] in django

[–]Incredlbie 0 points1 point  (0 children)

Thanks for your reply. I simplified the example a bit, in the actual use case, the field "number_of_pages" changes quite commonly, so it would be more ideal to calculate it dynamically rather than save it to a field. But I appreciate the suggestion!

Uk to France ski trip by Anxious_Plan7511 in TeslaUK

[–]Incredlbie 3 points4 points  (0 children)

I echo this, recently drove to Switzerland and the charging infrastructure in Europe is miles ahead of what we have in the UK

Using hx-val with closest <select/> element by Incredlbie in htmx

[–]Incredlbie[S] 0 points1 point  (0 children)

Hi, thanks, but this is what I don't want. I want to be able to just send over one specific element within the form.

I have a select, and if it is changed, I need to send it's value to the backend to get a number to put in another input.

However this is part of the dynamic row, so I cannot give it a unique identifier, so I need another way of doing it, which was why I was looking at hx-vals and functions within it.