...
But we tried upgrade it works for my friend
...
Try it may be it will work
Vishal
Any work on fast API
Vishal
I need a help in deploy of fast API on heroku
Vishal
Please help
Bibhuti
Hey all, i am trying to follow the tutorial in django documentation
Bibhuti
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1001, in _find_and_load_unlocked ModuleNotFoundError: No module named 'poll.apps.pollConfig'; 'poll.apps' is not a package (venv) [bibhuti@fedora polldjango]$
Bibhuti
so it says that i have no package as poll.apps
Bibhuti
But then my app name is poll and i have created apps.py
Bibhuti
then why it is showing this?
Bibhuti
ok, simple question to ask. Shall i follow this https://docs.djangoproject.com/en/4.1/intro/tutorial02/
Piyush
Please help
It is very easy to deploy it first create GitHub and then make a repository then create heroku account and just few more step and your site will live
Doragonsureiyā
Not until you explain your difficulties.
Rojitech
What's the task
Neo
4 messages including mine that's going to tell you to explain the problem instead, could have just saved all of us the trouble
capt. Levi
And registered your app
Bibhuti
Go to the settings.py
poll.apps.pollConfig in installed list
Yuriy
There is a class in admin.py: class NewsAdmin(TranslationAdmin): form = NewsForm list_display = ('title', 'date' 'show_url') def show_url(self, obj): return format_html("<a href='http://www.host.ru/news/{url}' target='_blank'>view</a>", url=obj.id) show_url.short_description = "View" Need a link http://www.host.ru replace with a relative one, something like this: protocol + domain name + news/{url} How can this be done?
balaji
hello friends any one can help me rest api topic in django
Doragonsureiyā
hello friends any one can help me rest api topic in django
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
balaji
ok
Angel
halo guys, i have a question about js and django. I'm doing a staff search engine in a project, the search engineworks fine. The problem starts when I try to enter the details of the user that I found it in the search engine. I don't know how to pass the url with the user's id inside an innerhtml and enter its detail. if anyone can help me it would be cool.
Angel
ammm this is my js
Angel
when i pass the id in url it not found it
Rakhmatov 🇺🇿
Hi I am beginner to Django. Which website or Youtube channel do you recommend guys? Thanks in advance.
Doragonsureiyā
Hi I am beginner to Django. Which website or Youtube channel do you recommend guys? Thanks in advance.
Check out PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
Alex
when i pass the id in url it not found it
maybe your search function is based solely on id.
Law
Please help me with a problem I have
Doragonsureiyā
Please help me with a problem I have
Not until you explain your difficulties.
Law
I'm trying to start mysql and I get an error of stopped processing the 'includedir' directive in file /etc/mysql/my.cnf at line 21
Doragonsureiyā
I'm trying to start mysql and I get an error of stopped processing the 'includedir' directive in file /etc/mysql/my.cnf at line 21
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Law
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
it won't let me do the migrate of the Django project because that's why I thought you could help me here
Charly
it won't let me do the migrate of the Django project because that's why I thought you could help me here
No the, issue is with mysql your config has errors but is not related to django
Law
No the, issue is with mysql your config has errors but is not related to django
I understand, and they can't help me here... too bad
Charly
I understand, and they can't help me here... too bad
Too bad you didin't read the message from bot to know where to ask
Law
Too bad you didin't read the message from bot to know where to ask
I'm going to ask there, thanks for everything ✌🏼
WOLFxASSASSIN
conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: could not translate host name "dailytourneys-server.postgres.database.azure.com" to address: Name or service not known Was actually deploying my project to azure and got this error Anyone with any idea Got this error while i was migrating
Mahkam
Hi everybody, I have a question. I need two user model for login and register, Users from both model, can login. For example, first, Parent have registered and add user( own children), Children have to login.
Erkaboy
Hi guys. I have got one problem. my superuser is being delated automaticaly. How it might be? This this is not happening with other users.
Erkaboy
Maybe, other superuser have deleted your superuser?
No. There is only one superuser. And only I am admin. I am wondering how it might be.
Doragonsureiyā
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
DamnSon
https://dpaste.org/HxVTv
Никита
Good afternoon, Django cms question: when publishing a page, a FOREIGN KEY constraint failed error occurs, but on the page itself, KeyError SliderPlugin. cms delete-orphaned-plugins doesn't help but gives the same error. Here are my plugin models https://pastebin.com/mJvZkZZe
Th
Hey guys. I can't deploy websocket on django no matter how. I followed lots if documents and videos but the asgi/channels server won't get started.
Th
Is there anybody to help me?
Fateme
Hi guys I was wondering if anyone has worked with a tool for testing application performance that would recommend?
Adrian
Hi everybody, I have a question. I need two user model for login and register, Users from both model, can login. For example, first, Parent have registered and add user( own children), Children have to login.
You can use the same model, with a type_user field, and two proxy models. For manage the views for each user, you need to use groups and permissions
Yurii
I’ve just added allauth 2FA to my project on Django, everything works great, but Log out page, after clicking button Sign out raise error: django.urls.exceptions.NoReverseMatch: Reverse for 'login' not found. 'login' is not a valid view function or pattern name. Maybe someone have ideas how I can fix this?
Anonymous
Hi, anyone here can help me with Django+ Reactjs
Doragonsureiyā
Hi, anyone here can help me with Django+ Reactjs
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Rangarajan
How to use django-prometheus to calculate the time between request and response for an API?
Frenchie
Guys I want to learn about django geo based filtering I need for a project at my office. It's urgent can anybody help me or atleast provide resources for learning
Frenchie
I want to increase the area of polygon and return the items in that polygon area.
Frenchie
official documentation has a chapter about using geo-based things with Django
It's not that much clear Also I m weak in doing all these geometry stuffs
Blockchain
Hello everyone. I have one issue. I deployed django project to Kubernetes. I use Django 4.1.2. Django async ORM queries work well on local machine, but don't work on Kubernetes. Could you explain about how to fix this issue?
šяıяαм〘CID〙
how can i add otp verification in my login page
Soheyl Taheri
I’m going to implementations auto generate code for personality’s code in my table
šяıяαм〘CID〙
django.db.utils.IntegrityError: NOT NULL constraint failed: manager_profile.user_id how can i fix this error
Peter
django.db.utils.IntegrityError: NOT NULL constraint failed: manager_profile.user_id how can i fix this error
Probably you're trying to access a page/run code that requires authentication/login whilst you're not authenticated
.
Hi What is the difference between Post and get in forms when I make cruds
Mirco
How
Get will render the form Post is the submit action, so you take the data and do whatever you need to create your resource
.
I could use get to render something like what?
Ædel
How
look up http requests.
Nefer
Hello
Nefer
I bought a domain and rented a server for my Django app. How can I distribute my app?
Shery
I bought a domain and rented a server for my Django app. How can I distribute my app?
Hi Nefer, first I recommend you to search "deploy django" for guides and videos, there's a lot of information about it. Also the djangoproyect site have a good practiques guide that you should check: https://docs.djangoproject.com/en/4.1/howto/deployment/
Nefer
Thanks