Anonymous
If u have Please send django professional material...
Mirco
Means
Click on pinned message 🔝🔝
Anonymous
Click on pinned message 🔝🔝
Ya, I joined that group
inchidi
Ya, I joined that group
i mute you for some moment so you have time to read https://t.me/django/5562
Anonymous
Hlo all can anyone tell how can I strong my backend logic
Anonymous
Starting from beginning
Anonymous
Simple is better than complex is outdated that tutorial is not for 2.1 rather than this please check official channel of the author thanks
Krishna Praneeth
Hii...
Krishna Praneeth
Is anyone available
Krishna Praneeth
I have one doubt
Anonymous
Y
Anonymous
Is anyone available
and your question is?
Anonymous
anyone using tornado server for the backend?
Anonymous
How about you tornado server performance?
Ghorz
Read pinned message
Binding Linux terminal commands in Django seem to be a pain in the ass. I could parse shell commands from django app to the Linux shell but find it difficult to hold the "dir" in memory.
R
How about you tornado server performance?
If you program it good, it has good performance, but if you want tornado just because you need an async framework, I suggest looking at/using aiohttp
Anonymous
Yeah I want implementing asyncronous
Krishna Praneeth
and your question is?
how to pass input to url from views.is there any possible for it
Ghorz
What kind of commands ?
Executing all Linux commands. I successfully did it but can't keep directory on session
GNU/Matt
Hi
GNU/Matt
I've a small big problem
GNU/Matt
do you know that with django2 it's possible to use path with this structure path("<slug:slug>/",DetailView.as_view(...))
GNU/Matt
my issue is that even tough everything seem configured correctly i still get a 404 error
Mirco
Anyway if u wanna share your urlspattern , we can help u better 😁
Guillermo
??
What do you want to achieve?
Krishna Praneeth
Actually what i am doing is ..
Krishna Praneeth
In my CreateView instead of success_url i returned in my model using get_absolute_url method.
Krishna Praneeth
which looks like this
Krishna Praneeth
def get_absolute_url(self): return reverse('tweet:detail_view',kwargs={'pk':self.pk})
Krishna Praneeth
here i am unable to get pk in my model
Krishna Praneeth
i am getting some value but from it's coming i am not getting
Krishna Praneeth
Now how can i get pk value to url
Guillermo
GNU/Matt
Anyway if u wanna share your urlspattern , we can help u better 😁
Well, for now i have 'fixed' the problem, meaning i downgraded to django 1.11.20 (the last tls which support will terminate in 2020) and i will follow a tutorial about the regex But when i will be done i would be grateful if you could help me with the new path format of django 2.1.7
Anonymous
Hi all
Anonymous
I want to check if I already created a superuser or not
Anonymous
Is there any command for this in django ?
Mirco
Mmm nope, but you can create it 😁
Anonymous
Yeah I know that but I think I created it but forgot the user name and password
Anonymous
If I create new than is there any problem occurs ?
cj
Is there any command for this in django ?
you can see all available commands running: ./manage.py help
cj
If I create new than is there any problem occurs ?
1. if the user exists, you would be told 2. you can change the password without knowing the previous one
Anonymous
Thanks I created new one
Anonymous
No problem occurs
cj
👍
Luis
Hi guys! I have created some scripts to commit my new code to testing or production environment, run migrations, etc. Does exist a solution out of the box?
Anonymous
OperationalError
Anonymous
I created student usins migrations
Anonymous
But after creating this I am getting this error
Anonymous
show the complete traceback
Done there was some spelling mistake in admin.py , models.py
Malik
hey guys please i need a help
Malik
i have been trying to use windows powershell to run django server but anytime i try python gives me an error and then shutdown the program
Malik
maybe you won't like my advise, but I will say it anyway... don't use windows.
i used to use ubuntu but cos of the flexibility of windows i had to move to windows.. but thanks anyway for your suggestion
Malik
do you mind seeing the snapshot i took from my computer so you might help me
Malik
python has stopped working A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available
George
Thats the windows message, it doesnt help at all
Malik
that's message i got when i used the powershell to run the django server... can i send the screenshot to you privately?
George
But it wont help
George
That kind of message has no information
George
You followed any tutorial for windows?
George
Maybe youre not calling django correctly
Malik
ohk i have tried to use the cmd and it workde but with some errors