7EP6vuI

joined 2 years ago
[–] 7EP6vuI@feddit.org 15 points 3 weeks ago (5 children)

what do you guys think about boston legal?

[–] 7EP6vuI@feddit.org 3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

do you already have monitoring solution for your vps? maybe prometheus/altermanager and the node_exporter?

otherwise i join the forgejo praise, and also enjoy etherpad (self hosted (limited) google doc)

how do you handle backups? recommendation: borg

[–] 7EP6vuI@feddit.org 41 points 3 weeks ago

but then it should be "restricted" at top, and not "corporate"?

[–] 7EP6vuI@feddit.org 13 points 1 month ago (6 children)

i'm a bit disappointed in wero: they want to be a european alternative, but you can only use it on devices with an operating system controlled by us companies.

i don't understand why they can not make it work in a browser? what are the technical limitations?

[–] 7EP6vuI@feddit.org 2 points 1 month ago (1 children)

das hört sich hart an. ich wünsche dir viel kraft!

[–] 7EP6vuI@feddit.org 3 points 1 month ago (7 children)

Erzähl doch mal, wenn du willst.

[–] 7EP6vuI@feddit.org 2 points 2 months ago (1 children)

spring is definitive good quality, but i'm pretty sure it's made in china. "swiss design".

happy when proven wrong :-)

[–] 7EP6vuI@feddit.org 14 points 2 months ago (1 children)

hat jemand nixos gesagt?

[–] 7EP6vuI@feddit.org 7 points 2 months ago

buch7.de nicht vergessen.

[–] 7EP6vuI@feddit.org 18 points 2 months ago (2 children)

Die Wero-App kann auf jedem mobilen Gerät oder Tablet installiert werden, das iOS 16 oder höher bzw. Android Version 9 oder höher verwendet. [...]

Es ist nicht möglich, Wero über einen Webbrowser oder auf einem Computer zu verwenden.

https://support.wero-wallet.eu/hc/de/articles/25599074240401-Welche-Ger%C3%A4te-unterst%C3%BCtzen-die-Wero-App

[–] 7EP6vuI@feddit.org 10 points 3 months ago

doesn't the print irritate your skin?

[–] 7EP6vuI@feddit.org 7 points 4 months ago (15 children)
 

i'm completely new to the django eco system, coming from flask.

what i want (and don't know how to accomplish) is to put some restrictions to a set of urls: x/<uuid>/images x/<uuid>/imageupload and others should only work, if uuid can be found in the database and is still valid.

in flask i would probably use a blueprint, but this concept does not seem to exist in django, right?

what i like about the blueprint concept is, that it's not possible to add a url under the x/<uuid> "namespace" and forgetting about the auth mechanism, as this is handled for all urls in the blueprint.

how would you handle this in django?

i've already learned about apps and a custom middleware, but this looks quite complicated on first sight? as the middleware always intercepts all requests, and i would have to check on my own if this is a request to x/<uuid>?

i've also looked at existing apps, and django-rq uses the statt_member_required decorator for each view. i will probably build something like that, but i would be more confident if i could apply this to the whole app, instead of having to decorate each function.

view more: next ›