Rohan
I have a docker-compose.yml, how can I get an image of it?
docker-compose doesn’t create an image and this is sorta offtopic
Rohan
But if you want to run that file, docker-compose up
Hamed
But if you want to run that file, docker-compose up
I want to have a container or an image
Rohan
I want to have a container or an image
That’s not how docker compose works.
Rohan
!ot
Doragonsureiyā
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Nikolay
Hello. Please give me an advice about Django-machina, if anyone has come across this thing. I suspect that due to a lack of experience (the first my project on Dzhangо and I am rather a system administrator than a programmer) I am stupid in some very simple moment. Here on the demo forum https://demo.machina-forum.io/ there is an opportunity to register and logon in in the right corner of the top panel. And when I setup and run Django-machina, there are no such links in interface. I read the documentation, especially carefully the section on permissions. I looked in Google, no one asks about it. But on YouTube there is a video in which a person shows how to install and configure this app, and he also does not have links to registration. And he does not pay attention to it at all. I suspect that this is some kind of thing so obvious that it is not even mentioned anywhere. The authorization module in Django is enabled. Maybe something else needs to be included, and the forum will display these links?
Ahmed
¯\_(ツ)_/¯
Nikolay
I would first look at settings if a registration app is installed in INSTALLED_APPS Then I would check the templates to see if the links are there or if there are conditions required to make them appear.
Thank you for answer. App is installed INSTALLED_APPS exactly as written in the documentation: https://django-machina.readthedocs.io/en/stable/getting_started.html
Nikolay
I checked several times.
Nikolay
Application templates are quite complex, in my noobish opinion. I have not found exactly where these links are included in it. I suggest that they are added somewhere deep through {{ block.super }}.
Nikolay
What surprises me most of all, is that none of the users of the application ask questions about this, although there are these links on the demo site. Therefore, I assumed that there is some obvious thing that every Django programmer knows, but I do not.
user
Any way to send sms from django to the users.... Twillo is there but its not free i needed it for my university project... If i couldnt find a free one i will go for paid one
Mrunal
Can somebody help me with the error, 404 page not found ,the current url path does not match although i have made functions added urls and redirect it to html
sim
can somebody help me in one web project, error problem
Doragonsureiyā
can somebody help me in one web project, error problem
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
sim
i want to deploy my website
sim
i am new in telegram
Kalandhar
Can anyone tell which python topics are there in Django I'm beginner Thanks in advance
Kalandhar
Django framework only
I mean which python topics will be more imp in Django
Kalandhar
Like oops concept etc
Nisis
how to do a hierarchical view. Showing all the profiles created using from a main user. But then other profiles created with their own invites. But how would i show all the child created from a parent user
Maxim
Like oops concept etc
imperative, functional and declarative approach, classes, inheritance, metaclasses, priority of operations i'm telling you, everything comes in handy
Anurag
anyone help me to learn about schema
Meer
How to create django application that like vedio call or like streaming how we manipulate the vedio to each other users anyone help me step through.
Maxim
anyone help me to learn about schema
if you are talking about a programming language, you are in the wrong group
Anurag
No, i am asking about how to write schema for class argument 8n django
Charly
No, i am asking about how to write schema for class argument 8n django
what do you mean by "schema for class argument"?
Anurag
https://github.com/oppia/oppia/wiki/Schemas I want to contribute in the issue but don't about it.
Anurag
Do you know about it?? Please
Doragonsureiyā
Do you know about it?? Please
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.
Anurag
Thanks, i will ask there
Tushar
which is best server for django application deployment?
Rizki
nginx + gunicorn / dhapne / uvicorn ..
Anonymous
How viewSets work? it's very mysterious, how it able to perform all operations like delete, update, create etc
Macurrent
So guys, i heard php is faster than django and that is the reason why some people prefer php over django
Mirco
So guys, i heard php is faster than django and that is the reason why some people prefer php over django
You cannot compare a programming language with a framework so people that told you that stuff, go wrong from the beginning
Zvs
dachshund, I just need to somehow indicate such a body in the swagger: { 'translations': { "en": { "title": "blah blah blah", "description": "blah blah blah" } } so how can I specify in the svger that in the field translations should be a dict and in this dict there should also be dictates in which there should be a title and a description ... is it possible at all?
Abdusamad
So guys, i heard php is faster than django and that is the reason why some people prefer php over django
Try telling your fairy tales one more time when I use python with numba 😂
Pranit
So guys, i heard php is faster than django and that is the reason why some people prefer php over django
It's not about fast or slow, it's about flexibility, support of libraries. If any language or framework which satisfies your need use that, it's not wrong to use, Facebook also uses php, also they use python in some case, they might be using JAVA also
Maxim
its django-swagger!!! wtf?
i could be wrong, but i see a question about swagger and it doesn't matter which way of using swagger is used
Mirco
its django-swagger!!! wtf?
Which package are u using ? drf_yasg ?
Марина
Hi Guys! I’m a beginner in DRF , and I have a question, is it possible to combine unittest and pytest for different modules in one Django project? Is it bad practice?
nur
Hi !! Can you suggest a sample project for a complex and detailed permit system?
Mirco
Yes
you can just use auto_schema e pass your custom OAS YAML for it
Марина
Thanks
Sandip
if i move student model before class model then its working but if the student class is down then its not working
When you are making a table foreign to another table you have to define your foreign table first and then the parent table. Try to remember the definition of foreign key. If the foreign table does not exist, then how can the parent table know about it. And since Python is interpreted from top to bottom, if it finds a foreign key feild whose definition it does not know yet, it will throw an exception. Is it now clear?
Suhaib_0.0
Do I need database programming? When creating a site using Django Or is she programming herself?
Mirco
Do I need database programming? When creating a site using Django Or is she programming herself?
if you don't know at least database basics, your journey will be very short
Suhaib_0.0
I've learned the basics. But my question Are you going to generate the fields themselves?
Suhaib_0.0
I think you need to read about migrations
Well, I'll read it. But can you answer my question? Please
Alex
Well, I'll read it. But can you answer my question? Please
Read the docs. Yes, migrations will create a DB with tables for you.
Mr Sourav
hi, i have an error in django. whenever i try to go to contact page from about page by clicking on navbar, it's getting 'about/contact/' instead of 'contact/'. Am i missing something in url mapping or in views or template? Can anyone help please?
Mr Sourav
https://paste.ofcode.org/9HX36ZzkLZUBkuxEbegH9V
Alex
source
> <a href="about/" class="nav-link">About</a> You are using relative url paths.
Mr Sourav
> <a href="about/" class="nav-link">About</a> You are using relative url paths.
any youtube video regarding this error? i need detailed information as i don't know about these relative and absolute url paths...please
Mr Sourav
ok thanks btw...
Alex
Use reverse url
Yes, but he doesn't know very basics of web, it seems.
yusof
Yes, but he doesn't know very basics of web, it seems.
Put {% url 'about' %} in href Check if it helps?