...
But we tried upgrade it works for my friend
...
Try it may be it will work
Alex
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
capt. Levi
And registered your app
Bibhuti
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.
RRH
Law
Please help me with a problem I have
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
Law
Charly
Law
Law
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.
Mahkam
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.
Mahkam
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
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
Anonymous
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?
Morteza
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.
cj
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
.
Hi
What is the difference between Post and get in forms when I make cruds
Mirco
.
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?
运维
Nefer
Thanks