Dutchq
Siddharth
I guess u were born pro right 🤦♂
ModuleNotFoundError: No module named 'adoptions'
I think u need to install the app:
INSTALLED_APPS = [
# ...
'adoptions',
# ...
]
Siddharth
Dutchq
Dutchq
Anonymous
how can i serialize models with more than one relationships or models.
Alireza
Lords
Can we use angular components with out angular framework in django
Lords
Djnago with angular components
Zion
Zion
you can build up a rest api and connect the angular components using calls between the backend and frontend
Anonymous
Hi any ts r ap here
i think if you want to understand and to see what are the global configuration variables see on django.conf.global_settings.py
Zion
if you split those parts, you can build a good backend service that could talk to almost any frontend framework.
Zion
Django is production ready
its mean that Django come with template engine who possible let you build a fully website using only Django components
Lords
With out frontend framework directly we need to use angular components for a frontend like templates is it possible with angular or react
Zion
you mean load the template using the template engine and using the react/angular component inside?
Lords
I am asking Is there any possibility to do with out frontend framework dirctly with components
AB
Good evening
Give me a good ressources can I learn Django
Aswandh
How can I implement push notifications in my Django application in a simple manner?
Reshma
Mirco
Prakhar
Hi guys. Can someone tell me why can't we see " assign to myself " option anymore on Django ticket pages? I can't even find any option to reply.
Spatz
Is there anyone who can help me?
Spatz
How to hybrid MySQL and MongoDB in Django project?
Mirco
Mirco
or use Postgres with JSON for documents
Spatz
Spatz
Would you like to help?
Spatz
But anyone can provide me a hybrid Django template with MySQL and MongoDB?
Alex
Hello friends
I'm new to Django development and I have a question...
I created a project with authentication
when I authenticate in one browser I am authenticated in another
I know that I need to use sessions. How it's done?
_
How to get started on restapi
_
Later while doing project is it important?
_
What is the main purpose using api?
_
Have u made project using api?
Charly
_
Ok
_
Thanks mate
Siddharth
What is the main purpose using api?
Lol, it makes easier to use the already made thing to serve, like if you need any chatbot in your whole big project then use any API rather than making your own, since it will decrease efforts and saves time 🙃
Sree
raise WorkerLostError( billiard.exceptions.WorkerLostError: Worker exited prematurely: signal 6 (SIGABRT) Job: 0.
anyone knows this error? i got this while running celery task. on my local machine
Rebison
Hello guys,
Is it possible to connect django with MySQL database?
Siddharth
Siddharth
Hello guys,
Is it possible to connect django with MySQL database?
Settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'your_database_name',
'USER': 'your_database_user',
'PASSWORD': 'your_database_password',
'HOST': 'localhost',
'PORT': '3306',
}
}
pip install mysqlclient
Rebison
Anonymous
list_payments(user = request.user)
In defination of the above function
def list_payments(user, filters=None):
filters = filters or {}
payment_qs = OrderPayment.objects.filter(user_id=user.id)
return PaymentFilter(filters, payment_qs).qs
I am from java background and It feel strange to see this function.
In defination it is expected to have two params but we are only providing one param.
Can anyone please clarify this?
Believe
Siddharth
Victor
Hello dears pythonistas, how to add a field in django admin (change list of a model) context before action (field is a foreign key) , objective is to do a quick dublicates of marked fields and add they in DB.
Code that i have:
https://hastebin.com/share/topapabivu.python
Anonymous
Hi Thanks @biggestlier1234 @llSiddharthll I got it
Siddharth
Fedor
Hi!
I need to make SSO for projects within the company, all services on Django.
You need to decide whether to use Oauth 2.0 and write the service yourself, or use a ready-made solution - Keyclick.
A small difficulty is that in addition to user information, they are associated with companies, the entity is Many to Many associated with the user, I do not understand if it is convenient and possible to do this through the User Federation.
If you have experience with similar things, please tell me how to do it better.
Fedor
I will be glad to answer
Victor
Siddharth
it is easy though
Siddharth
adding the foreign key to the admin model to show the fields
Victor
I think I dont understand the full architecture of this django sweet platform ...
Gaston
Small
Hey. Im working on a django site but with an installed theme. After making some configurations My homepage only loads with its built in animation but does not show the home page. The console says the bootstrap.min.css.map file is cannot be located. How can I fix this issue. Anyone please
Gaston
Georg
hi. I need to preprocess data the user has posted in an admin view (admin form, django admin in general)
Where I should place my code? AdminForm? AdminModel?
Georg
anyway I need to change a name of file loaded and I need to parse and cut some styles in incoming html code (RichTextEdit)
Siddharth
Georg
doesn't admin model/form gives an API?
Siddharth