Dwiky
hi. i.want to ask.how to create models and can render data to matrik and how to save it to database.? tq. use numpy or django-matrix-field
Tobi
Hi, hope you guys are doing well, I have a small issue, nothing too serious, I'm building a SaaS application based on a subscription model, I have 3 plan, free, basic, premium, when a user signup without selecting a specific tier, a free tier is assigned to his account, I can achieve this easily in the save method of the user model, but If the user selected for example a standard plan by clicking on the corresponding link on the home page, how can I assign a standard tier to his account in the signup process, by the way I'm using allauth. I'm thinking of maybe adding hidden inputs on the signup form and use them to set the user subscription tier, but how can I populate the form hidden fields from the links on the home page with the right values, I don't want to put the value in the path, a part from the CharField for the tier, there is also some Integer fields I need, and that would probably look really ugly in a path, does anyone have an idea on how I can do this ?
Misha
I am doing a Udemy Course on Full Stack Web Development.
Since, working together is always more efficient, so... if anybody would like to join, please send in a DM.
Sai Kumar
Hi
Sai Kumar
Can anyone solve for me
Sai Kumar
Template name error
Sai Kumar
VarunTheLord
Sai Kumar
I did not understand
Sai Kumar
I was given correct only
goku
Can anyone suggest a good tutorial on how can I send a 6 digit token to user's mail?
Ghorz
Ghorz
From the action point, generate random 6digit, save it in the user database record, use sendmail function to push to user email
Mohd
how to send dynamic status in ajax ?
Mohd
may anyone tell me the syntax of status in ajax
Bais
Good morning, I found a little problem with a queryset filter, if I have istartwith on a subfield like model1__filed1_istartwith="VALUE_M" it's translated in LIKE UPPER(VALUE\_M%) and it give me empty response everytime, if I useonly "VALUE_" it sends me 2 response, how is possible? I need to unescape value before sending to filter ?
Bais
field is a charfield
Bais
anybody had same problem?
sunny
Scheduling API: This involves a single endpoint, which accepts Date-Time and a URL as a parameter.
When the API is called, a task will be scheduled. A GET request (no parameters needed) should be sent on the URL
specified (second parameter), when the current Date-Time matches the one specified in the Date-Time parameter (first
parameter). The GETrequest on the URL parameter will only return a status code, and no response body have you any idea what they want
Ak
I have hotel table with field hemail, hname, hno. hemai is primary key. How I to make foreign key in hotel room table of hemail field?
sunny
Ak
Thank you 😊
sunny
Thank you 😊
https://github.com/sandeepagrawal8875/deluxe_social_media_resume/blob/master/src/deluxe/models.py check this to know more
Bais
sunny
Future
j&a
How can I input n lists?
Anonymous
try this request.POST.getlist('value[]')
Anonymous
hey people, can anybody help. How can i use multiple order_by() but not in django-admin but in views.py
Anonymous
in other words just order multiple fields
Mehran
Hey, How can I automate a function that runs on a specific time in django?
cj
Vimal
Any best tutorial for django
Vimal
Suggestions please
Ghorz
Rather than pick up something,
Vimal
Vimal
So i asking for suggestions
sunny
Ghorz
Learn a little, code a little, research a little, create a project, recycle
Vimal
Ghorz
Then recycle
Vimal
Sure sure
Ghorz
Use official doc
sunny
Ghorz
What ever you want is there, except writting the code for you
Ghorz
sunny
Ghorz
Ghorz
Read the docs, very simple to use
sunny
Faxmodem
How is it possible to access the tag property with the if ?
ex: <li class="active" data-filter="*">All</li>
im need use if in access <data-filter> property?
{% if data-filter == all %}
command——
.
.
{% endif %}
Sai Kumar
Can anyone help me
Sai Kumar
Template name error
Sai Kumar
I was given correct only
Sai Kumar
It was not allowing to send pics
Gowtham
The template name errors is mainly check all templates name you are giving correctly or not check in setting twice and the folders names and url names and views rendering names..
Anonymous
I create in my django project a forms.py as a Python file but created as a simple file plz solve my problem
Anonymous
help me write the delete function
Doragonsureiyā
It was not allowing to send pics
To share code or error tracebacks, be considerate and use an online pasting service - here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you post a wall of text message (many lines), delete it quick or you may get a warn strike.
M
At
Hi, can u help why i get an empty json response, instead of the questions and answers for this quiz https://del.dog/serialising.txt
Sheshadri
Anonymous
can someone guide me step by step how to add background image in django template.
cj
Anonymous
Yeah i changed it to the QuizzSerializer, still getting the same
Anonymous
Anonymous
can you please help me
cj
Abdulwahab
------
I have a django project that stores static files in S3 in AWS
My question is .. What is the best way to compress images before uploading to s3 ?
Should I do it inside django itself or using AWS Lambda function or something else ?
Богдан
I have an Exam model, I want to store the last 10 records of the user recording in it, and the older ones to be deleted, what is the best way to implement this?
Meysam
Богдан
Meysam
Antuane
Im trying to do an authentication with LDAP, how can i debug what it is wrong because nothing happen when loggin
Meysam