Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
You would not happen to remember the name ?
Mirco
I'm looking for it , I don't remember the name 😓
Anders (izzno / gooood) 🇳🇴
"Django Image Fit" is it this ? A template plugin ?
Mirco
Nope, it's a python library not related to Django
Anders (izzno / gooood) 🇳🇴
ah ok, Django 1.4 > 2.0. <—- how would you read this? I read that as 1.4 but not 2.0 (bigger than 1.4 smaller than 2.0)
Anders (izzno / gooood) 🇳🇴
"Django Image Fit" does look perfect ...
Mirco
Mirco
Mirco
anyway the library was in go 😞
Mirco
https://pypi.org/project/python-resize-image/
this one looks cool and maintained
Mirco
Anders (izzno / gooood) 🇳🇴
https://github.com/vinyll/django-imagefit <— I will try this in a new branch.... Maybe i can contribute to the library if something fails... It looks extremely nice... resize in the template ;)
Anders (izzno / gooood) 🇳🇴
Without querystrings...
Mirco
cool , he played with template filters
Mirco
one year ago last commit, you should just check if supports latest django versions
Anders (izzno / gooood) 🇳🇴
Yep, hence the new branch...
Alibek
Hi. I've deployed 2 django projects with django-tenant-schemas package on remote testing server. They work as docker container and nginx container serves them as microservices, though they share the same db. Well on remote desktop it works fine. On opening test.localhost/v1/ I see routes. But on my PC, when I enter remote desktop on url radar/v1 (radar is alias of ip in my /etc/hosts/ file), it says that there is no such tenant for radar. Typing test.radar/v1/ cause to unreached site error. How to connect to remote desktop multitenant project?
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
I am pretty sure this is a DNS/hostname issue and has nothing to do with Django.
Alibek
I also think that this more network issue, but this is project established locally, e.g. inside our working office
Alibek
Alibek
Ok, thanks. At least somebody answered me on telegram. Ha det bra.
Anders (izzno / gooood) 🇳🇴
Root
Hello everyone, I'm getting
SuspiciousFileOperation The joined path <path> is located outside of the base path component
I'm using pillow and these in settings
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
MEDIA_URL = '/media/'
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Anders (izzno / gooood) 🇳🇴
Litarally the first google result.
https://stackoverflow.com/questions/41350325/django-the-joined-path-is-located-outside-of-the-base-path-component
Bedilbek
is there anyone participating in DSF Internship ?
godmode
Bedilbek
https://www.djangoproject.com/weblog/2019/apr/24/internship-opportunity-dsf-app/
godmode
How does it work it's more like a contest?
godmode
Cuz It says that somwbody it's gonna review the pull request and i imagínate
godmode
If it's a contest it's a lot if people to do that
Bedilbek
first you had to apply for it. And after several competitions if you could pass you would get a position of an intern for developing django
godmode
That's kinda but i'm just a student ... I've been learning Django just three months
godmode
I don't think i'll got choices
Bedilbek
Contest was on purpose open for newbies who are new to django environment and who want to contribute to it
godmode
opportunities
godmode
Андрей
Hi everyone! Can somebody help me, i want to override all error_messages in my django.model without using django.forms and i do not want to use 'error_message=my_dict' in every model's fields. How can i do this?
Happy
Happy
oh, every model's fields?
Happy
emmm, BaseModel inherts django.models.Model, and implement method, like: def charFeild(**kwargs): return models.CharFeild(error_message=my_dict, **kwargs)
Happy
In another Model(core.BaseModel):
foobar = this.charFeild(…)
Happy
it's my idea, but i don't think it is a good idea.
Abel
Hello guys I am just working a school system with django and I have a notification app on the project it is used for the teacher send notification for the students and i just want to filter the notification based on the department field on the student user how can I filter it please
Mirco
Андрей
Bhaskar
What I need learn beside django to get a successful job in a good company.
Need your help please
Rock
Brother I am making a project on Dajango I have added all the pages of this page but how to connect the data
Rock
Anonymous
How to insert table datagram error RuntimeError at / admin/booktest/bookinfo/add/ in django background management
JorgeSierra
.
Shreehari
#offtopic
Anyone here uses drone.ci?
Rock
cj
El
I have a foreign key, how can I automatically send a user's id when they log in
Bhaskar
Any one of you worked with Rasa nlu
Rohan
Doragonsureiyā
Any one of you worked with Rasa nlu
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 34k+ people the probability that someone will help is pretty high.
Rohan
Rohan
El
Show us the code and model
from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class Asistencia(models.Model):
usuario_id = models.ForeignKey(User, null=True, blank=True, on_delete=models.CASCADE)
El
What I need is that when a button is pressed, the user's id is automatically sent to the table
Bhaskar
Bhaskar
Suggest me a chat bot UI for RASA.
Can give intrectected look.
And easy to deploy.
Happy
What's RASA?
Bhaskar
What's RASA?
It's a ML framework for development of AI chat bot.
It's in python.
Happy
Does anyone know of some groups about React?
Happy