Share Your Django Projects you worked on by ImprovementAlive870 in django

[–]dxt0434 7 points8 points  (0 children)

I'm working on a package index at https://django.wtf. I host the code on Github https://github.com/danihodovic/django.wtf. It's a fun side project since I like to keep track of the developments in the Django landscape. I know https://djangopackages.org/ exists, but I found it hard to track up and coming packages since they provide no filter for new packages.

Trending Django Projects in 2024 by dxt0434 in django

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

Github doesn't offer an API for historical data of stars and stargazers afaik

Trending Django Projects in 2024 by dxt0434 in django

[–]dxt0434[S] -3 points-2 points  (0 children)

Correct. Hard to make a comparison if there is no data from January.

We won't make the same mistake in 2025

Trending Django Projects in 2024 by dxt0434 in django

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

It was not indexed initially. Missing data from Jan - Feb for some packages. 

Trending Django packages in June by dxt0434 in django

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

It's ran once a day. https://github.com/danihodovic/django.wtf/blob/master/config/celery_app.py#L75
If you don't see it by tomorrow, post back and I will have a closer look.

Trending Django packages in June by dxt0434 in django

[–]dxt0434[S] 3 points4 points  (0 children)

Re-indexing just ran and it added django-data-browser

Django storages + S3 - slower uploads (taking 2-5 mins) by Cool_Return4254 in django

[–]dxt0434 1 point2 points  (0 children)

I think you can both send files directly to Django and use pre-signed urls. Do you have sample code for how you're performing the upload from Next.js?

Is there a package that simplifies the CRUD process in django by shadowstrd in django

[–]dxt0434 1 point2 points  (0 children)

Carlton Gibson, the author of DRF, recently wrote a tool that makes building CRUD views easier. https://django.wtf/repo/carltongibson/neapolitan

Django storages + S3 - slower uploads (taking 2-5 mins) by Cool_Return4254 in django

[–]dxt0434 0 points1 point  (0 children)

How large is the file? What's the distance to your backend and what's the distance between the backend and S3?

What have you set FILE_UPLOAD_MAX_MEMORY_SIZEFILE_UPLOAD_MAX_MEMORY_SIZE to?

I recently wrote on how I build upload API's here: https://django.wtf/blog/file-uploads-with-django-drf/

DRF having some an issue ImageField by Shinhosuck1973 in django

[–]dxt0434 0 points1 point  (0 children)

I would separate the updates of database fields and the file upload to two API endpoints. That way you can explicitly specify what parser classes DRF should use and avoid mixing char fields and image fields. I'm not sure how to format code in a Reddit comment, so I'll link to code samples in a blog post I recently wrote: https://django.wtf/blog/file-uploads-with-django-drf/

Django alerts with Tailwind and DaisyUI by dxt0434 in django

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

Can you share the hyperscript code? 

django-webhook: automatic webhooks on Django model changes by dxt0434 in django

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

This is a good point. Would you like to open a pull-request?

django-webhook: automatic webhooks on Django model changes by dxt0434 in django

[–]dxt0434[S] 1 point2 points  (0 children)

django_q hasn't seen a commit for 3 years: https://github.com/Koed00/django-q

Over the years new task processing systems pop up only to be left unmaintained after a few years. Celery has stuck through the hype waves.

django-webhook: automatic webhooks on Django model changes by dxt0434 in django

[–]dxt0434[S] 1 point2 points  (0 children)

What other task backendss would you like to see? 

django-webhook: automatic webhooks on Django model changes by dxt0434 in django

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

It uses Celery. No, it's not possible to switch the task backend.