Alex
because it looks like you want many users to have many tickets
Mirco
or sqlite, just for test
I remember the bug was related to sqlite But to be sure it's better to try with another db
Valery
because it looks like you want many users to have many tickets
in this case will i get for different users their own ids of tickets? Tickets will not related each other?
Valery
Okay. I will try. Thank you
BB
Is it possible to send several arguments in templates context, like this: {{ev.title, ev.pk}}?
Ngeene
Views like plz explain
Can you please rephrase the question...?
pratheep
How to get the path of InMemoryUploadedFile
Aamin
How to get the path of InMemoryUploadedFile
https://stackoverflow.com/questions/2753345/locating-file-path-from-a-inmemoryuploadedfile-django-object
Aamin
3rd result from google search
pratheep
Is any other way to get it?
Aamin
have you read the link i just posted?
pratheep
😬sorry bro , I forget to read the comment
pratheep
Got it bro
Aamin
Why path though?
pratheep
Thank you bro
Aamin
you have the file object then why path?
pratheep
Need that path for another sort of custom function to be executed
Aamin
what kind of a function, which can't be executed on a file object?
NR
Hi guys I am.looking for recommendations for video course or books paid / unpaid for in depth teaching of Django users groups and access handling.
Cesar
I have a ticket model with FK to User. I need to return id of ticket for every user start from ticket number one and so on. Now if user1 create ticket he get ticket1. And if user2 create ticket he get ticket2. But I need to save this ticket with number 1 for user2. I think I can override save method and do something like filtering by user and increment tickets count to +1. But I feel this is bad idea. What can I do in this case?
I would do: Have a field in my user model called last_ticket = integer default =0 And a field in ticket model called maybe User_seq = integer Then have a method to create tickets inside user model While calling that method, you increase 1 to that field and then add to other field in the tickets model
Cesar
Is it possible to send several arguments in templates context, like this: {{ev.title, ev.pk}}?
Did you read how context works? You send a dictionary to the template, and a dictionary can have as many values as you want (or your ram blows up, whichever come first)
NR
Django official documentation
Docs are great but I am looking some thing different than those. Some instructor led training
MK-47
Help I have downloaded a template online and tried to use it for my django project but when I run it it doesn't load the static files. The error is that it fails to load resource. what could be the problem
Alex
Actually there is a project called awesome <name>. Django has a few more lists like that.
NR
https://github.com/wsvincent/awesome-django#resources
Thanks alot one of best resource collection
Амантай
Hello everyone! How to make custom user model?
Alex
Hello everyone! How to make custom user model?
google django custom user model
Ram
I created User model Extended Usercreation Form is forms.py with UserRegisterForm The form has every input which i used in user model But somehow the data goes into auth_user database not into user_user database
Ram
Is there any way to insert data into user_user db?
Damron
In your project do you want to use user from user_user? Is that your custom user, inherited from AbstractUser or BaseUser? If so, you need to set your custom user as default in your project - by setting 'AUTH_USER_MODEL' = 'user.User' in settings.py file. I might make mistake, you can Google it
Matvey
Hi, can you help me please? How i can mocking status_code in Response object(requests library)?
Fabian
OK this are the errors aws is throwing me at trying to dockerize django
Fabian
[2/17, 6:21 PM] Rafael Overseas: Preguntale sobre el Dockerrun.aws.json [2/17, 6:26 PM] Rafael Overseas: y preguntale sobre este error [2/17, 6:26 PM] Rafael Overseas: Service:AmazonECS, Code:ClientException, Message:Container.image should not be null or empty., Class:com.amazonaws.services.ecs.model.ClientException
akshay aka max
is that English
Mirodil
Hi guys. How to work with email with django?
Habib
Hi guys. How to work with email with django?
Read the official django documentation.
Victor
Habib you should be preparing for the fight rather than coding
Shidhant
Hi guys has anyone used django celery??
Shidhant
Can anyone share some idea on how we can broadcast message and receive that message?
Anonymous
Celery is not working after upgrade os python
Shidhant
Celery is not working after upgrade os python
Okay but i am not using latest version
Shidhant
I have created a broadcast queue... But having problem on how we send message on that queue
Fabian
Hi guys. How to work with email with django?
is pretty simple, write me if u got doubts after reading the docs
Hassan
is there any syntax changes in django 3 as compare to django 2m
Hassan
?
Hassan
if iam using django 2 code and i ran inyo django 3 will i get error?
Cesar
but not related to syntax
Cesar
but for the use of depricated methods
Hassan
hmmmm
Alex
if iam using django 2 code and i ran inyo django 3 will i get error?
You should reference your self with the doc https://docs.djangoproject.com/en/3.0/howto/upgrade-version/
Alex
!meta
Doragonsureiyā
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 53k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Jinu
Is there any proper library that will extract table data from image
Jinu
I want to extract text from image in which the text is represented in tabular form. When i user tesseract OCR it extracted the text but not in proper way,it just extracted the text line by line @Alex
Anonymous
Hello, I have about 100 documents on PDF and I have to crate a search filter in Django, what I have to use to search keywords inside PDF files, search must be in Elasticsearch. If anyone knows anything about Elasticsearch please write me. Thanks
Ram
Hello i made the custom registration field but i cant save password in dtabase as well as admin panel
Ram
In admin panel it shows no password set
Aroop
Plz help in multiple user type login views
Aroop
How to setup views.py file for multiple user login
Anonymous
hi does any body knows how to downgrade the sqlite version in django???
cj
hi does any body knows how to downgrade the sqlite version in django???
sqlite is managed by your operating system, so you have to deal with it, Django doesn't have anything to do with it