Sheshadri
Is it possible just I pust license work there
Don't worry usually you don't need to put license , just buy license and use the same files
[ 𝕂𝕣𝕒𝕦𝕤𝕖 ]
Hey. Does anyone have a custom filter to exit the loop in templates? Found this one, but it's old. https://djangosnippets.org/snippets/2093/
pauliñho
Hello guys, hope you're all doing fine. I have a quick favour to ask form you. I am new to django....so i have this system that i start to develop where a student fills a form and then exactly the same informations need to appears on the side of HOD, i have created two apps inside the project, i have called those apps as student and HOD.But the problem is i don't know how to grab the data from database and display to the HOD side. I believe some of you might help me, even if you have a different approach like creating two templates for student and HOD instead of two apps, i'll welcome all of your help.Thank you inadvance good peoples.🙏
pauliñho
You must use CRUD for this
Yeah, thanks i can save data on database and view them, but i don't know how to grab the data fron db to the html template ( i use dbsqlite) please if you have any resources that can help please I'd really appreciate if you can share with me🙏
Владислав
Guys! Is there a way to migrate all tables(including django `auth_*`)to custom db-scheme (not «public») ? I think i’m loosing my mind searching for solution
Anonymous
Sorry
Владислав
Didn't get u
if you execute python manage.py migrate, django will create all tables in public. But i’m not permitted to create in public - I have special scheme for my app: scheme_for_django How can i set up scheme_for_django for my app, so django migrate tables in it?
Toni
I'm using Django Generic Views, and I want to use DeleteView without the confirmation html. Is it possible? if yes then how? can someone guide please?
Alex
Hey guys, I am receiving a POST via webhook it supose to be a JSON file but it came like: {'foo': 'bar', 'foo_2': None} and I have get Json sintax error, shoul I use a kind of technique like parse? thx
Anonymous
Hello) I connected all the static files, but still the beaten styles when going to the page home.html) Help solve the problem. code on github
Pandu
How can I fill date and time automatically based on time zone.
Abdulrahman
How can I fill date and time automatically based on time zone.
first import timezone from django.utlis import timezone then in your class: date = models.DateTimeField(default=time zone.now)
Khemraj
Hey everyone can we make website in django which hai fingerprint which can run on smartphone
Khemraj
Ya but can we use phone fingerprint to access website
Khemraj
How?
George
How?
Let me 🦆 DuckDuckGo that for you: 🔎 fingerprint web django
Khemraj
OK
Abdulrahman
It's working thx.
Good luck 👍🏻
Pandu
Good luck 👍🏻
I want to that date&time any possibilities?
Abdulrahman
I want to that date&time any possibilities?
First, do you change timezone in settings.py
Pandu
USE_TZ = True
Abdulrahman
What the issue now
Pandu
Models also created. I want to retrieve that created time.
Pandu
Created time by default hiden right?
Abdulrahman
from admin
Abdulrahman
Page
Pandu
from admin
Any sample code
Abdulrahman
could you please upload your code on GitHub, so I can check it
Pandu
Ok
Govind
Hi Everyone, How do friend request, delete and add work in django? Please advise.
Anonymous
Hey guys is it possible for each item in category to have its own model
Sheshadri
Hey guys is it possible for each item in category to have its own model
yeah, create create model called Category and use it as in other models as ForeignKey field
Govind
ok
ֆ33ʏ377
Hi, Can anyone explain following Error : 1452, Cannot add or update a child row: foreign key constraint fails Makemigrations was successful and migrate gave me above error Thank you
Anonymous
How to integrate telegram for messages in django ?
Anonymous
what u mean ?
Means I want messaging like chat using telegram
Rajendra
Can anyone help me to hosting django project on go daddy share hosting using filezila ..
Jahongir
how can I install python SDK
Mirco
Means I want messaging like chat using telegram
Start studying django, django channels and real time applications
Anonymous
Start studying django, django channels and real time applications
For ur kind information I know django I developed django app .what I want is how to integrate telegram with django for messaging ok
Sheshadri
Can anyone help me to hosting django project on go daddy share hosting using filezila ..
First of all are you sure that GoDaddy shared hosting supports python hosting ?
Mirco
For ur kind information I know django I developed django app .what I want is how to integrate telegram with django for messaging ok
for your kind information it's not enough to develop an app to be comfortable with Django and have all you need to know for your goal I told you what you need to study for writing real time app to include a chat if you don't wanna follow the suggestion, I don't care
Jahongir
I was installed python and pycharm. If I try install django or requirements or other thig, It returned mistake on terminal certificate verify failed.How can I install django
Jahongir
what mistake does it say?
certificate verify failed
Sheshadri
Which OS?
Jahongir
windows
Jahongir
7
Sheshadri
Pycharm community version ? What commands are you using?
Sheshadri
certificate verify failed
Check your python version, think you have installed python 2.7 which is not supported anymore, try uninstalling your python and reinstalling python >= 3.6.
Jahongir
any commands for example pip install django, pip install colorama, pip install -r requirements.txt
Govind
Hi Everyone, How to prevent form resubmission when page is refreshed in django. Please advise..
Jahongir
python version is 3.8.2
Sheshadri
python version is 3.8.2
Are you using virtual environment?
Jahongir
yes
Sheshadri
pip -V ?
Jahongir
pip -V ?
it works
Sheshadri
paste here
Sheshadri
what it says
Jahongir
it works
returned python 3.8
Sheshadri
Try with run as administrator? Create your project other than C:\ drive and check
Amir
How can I count the views of a post in my blog?
Rajesh
Anyway to serialise single model instance
Rajesh
I'm using filter().first()
Rajesh
It return single model instance
Rajesh
When I apply serializers.serialize on that instance I get error that is model is not iteratable
Zaryab
Hello experts, just a simple question
Zaryab
How do I pass values values from within javascript to django views through urls
Zaryab
For example, Normally we pass values this way in html <a href="{% url 'login' id %}" class="btn btn-primary">LOGIN</a>
Zaryab
But how to pass values through url from javascript to django views.... Please help me out
Toni
I'm using Django Generic Views, and I want to use DeleteView without the confirmation html (template). Is it possible? if yes then how? can someone guide please?
Hernan
I have been fighting with pythoanywhere and a django project for hours in my local environment the html finds them correctly from the templates folder but when I do the implementation in Pythonanywhere I can't find a way to go find the templates where it should If any of you have already experienced this situation and can give me a troubleshooting