Anonymous
cj
Learn :)
yes... the whole life to learn Django
Anonymous
I know that. I mean, how many months does it to take basic ?
cj
I know that. I mean, how many months does it to take basic ?
just to learn the basic things and to have a decent Django project working, a couple of weeks or less... depending on your skills
Anonymous
2
thank bro
cj
2
2 months to learn the basic things? unless you don't have time for that or you don't know Python or you don't know how to program... otherwise not more than a couple of weeks
Robert
I know that. I mean, how many months does it to take basic ?
If you know laravel or another backend framework, you can handle django with 2 weeks
cj
I think if he knows what django is, he knows the basics of python
you would be surprised by the amount of people that don't fit that sentence
Robert
you would be surprised by the amount of people that don't fit that sentence
Maybe you're right. I've learnt basics of django in 2 weeks and had background of php and java programming before it
Robert
Can someone suggest me how to integrate react with django correctly? Sharing a link to the tutorial would be great. I want to create multipage social network with CRM
محمد دلشاد
Maybe you're right. I've learnt basics of django in 2 weeks and had background of php and java programming before it
well Dennis have created a todo on the same but there is a small issue and thats authentication when you are done please update on the same
Robert
well Dennis have created a todo on the same but there is a small issue and thats authentication when you are done please update on the same
He have created a one-page-app, but I’m looking for more informative example for multipage app. I’ve found this tutorial (https://www.valentinog.com/blog/drf/), but I’m not satisfied enough.
The mint of Linux **
Can anyone help me to create a user form including image filed...in Django...I tried many tutorial all fails
Mirco
Can anyone help me to create a user form including image filed...in Django...I tried many tutorial all fails
It means you need more time to study and understand Don't just copy and paste
The mint of Linux **
It means you need more time to study and understand Don't just copy and paste
No sir I don't copied.. actually upload image and other fileds upload are doing right individually but when I'm adding both in a same class
The mint of Linux **
Form.is_active always return false
The mint of Linux **
And If I want try to create two classes and inheti them Also getting error
Manish
https://stackoverflow.com/questions/63962598/how-to-loop-over-an-html-with-javascript
Osmani
Hey guys! I'm trying to implement a feature in my Django-based website so that users can have a profile picture on their profile. For some reason the server is throwing this error: OSError: [WinError 123] The file name, directory name, or volume label syntax is incorrect... followed by the address where I placed the profile picture. Can anyone tell me why I'm getting this error? Thanks in advance
Shiva
Use // instead /
Bunty chhatri wala..
Data is being disappeared from Db automatically .. App is hosted at heroku.
Bunty chhatri wala..
you have to pay for persistent data service
Data is simply a text info ..like name and address which is being saved in DB. And it is getting disappear after an hour of saving a record.
Master Chief
I want to get all model names which are related to user model (like one-to-one or foreign key)....can i get this somehow?
Ravi
I want to learn django3. Can someone please guide me with free pdf or documents apart from django documentation?
Doragonsureiyā
I want to learn django3. Can someone please guide me with free pdf or documents apart from django documentation?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
cj
I want to learn django3. Can someone please guide me with free pdf or documents apart from django documentation?
you won't find anything better than the documentation, except for "Two Scoops of Django" book... but it's not for beginners
cj
Yes CJ. I agree but i want it for offline reading. Like any pdf or epub.
you can download Django's documentation as a PDF/epub file...
Ravi
Thanks CJ. GOT IT :)
The mint of Linux **
Hey guys
The mint of Linux **
In my view Form.is_vaild() Return p.html
The mint of Linux **
This is working ...but my data added via user not going to fatabase
The mint of Linux **
Database..but why?
The mint of Linux **
Can anyone help me
The mint of Linux **
??? Dara added via user not going to the database !!
The mint of Linux **
*Data
The mint of Linux **
Anyone for help??
Anonymous
How to use sendgrid with django on heroku ? Anyone?
Mirco
How to use sendgrid with django on heroku ? Anyone?
You have done a quick search online ?
Unknown
Hey guys,I deployed my Django web app to my own apache server, but the problem is that as soon as I do DEBUG=False,the static files doesn't get Django can't find all the static files. I did collectstatic and I also set the path of static directory correctly in Apache server. Please suggest something.
Anonymous
You have done a quick search online ?
Yes, also tried the described method by the search results but still not working
Mirco
Yes, also tried the described method by the search results but still not working
Share your implementation with errors and people can help u
Anonymous
Hey guys,I deployed my Django web app to my own apache server, but the problem is that as soon as I do DEBUG=False,the static files doesn't get Django can't find all the static files. I did collectstatic and I also set the path of static directory correctly in Apache server. Please suggest something.
https://docs.djangoproject.com/en/3.1/howto/static-files/deployment/#:~:text=Serving%20the%20site%20and%20your%20static%20files%20from%20the%20same%20server&text=On%20the%20server%2C%20run%20collectstatic,this%20with%20Apache%20and%20mod_wsgi.
Anonymous
Share your implementation with errors and people can help u
I was not getting error in that but also not receiving any email 😬
Anonymous
Ok so it's impossible to help ya 🙂
😭 please don't say that brother
Mirco
😭 please don't say that brother
I'm not your brother 😁 and I say that because without details, errors and so on we need a magic ball to help u
M
😂
Anonymous
Should I laugh ? 🙂
It's up to you 😂 But, really thanks for the help
Mirco
It's up to you 😂 But, really thanks for the help
It's up to you to be respectful 🙂
Aneesh
How to set a time and trigger a function in django
Mirco
How to set a time and trigger a function in django
Have a look at Celery or Django Q to schedule tasks
Aneesh
Thanks
Vitaliy
Have a look at Celery or Django Q to schedule tasks
Celery is not intended to replace crontab. It's aim is to proceed long-time operations. To schedule some tasks by the time one needs to use crontab.
Aneesh
Ok thanks
The mint of Linux **
Where are u hosting?
Anonymous
Hey guys. I wanted to reach from a function to another function in view.py
Anonymous
how it would be possible?
Anonymous
I should define one of the functions in a class?
Anonymous
and by a getter retuen the variables in that function
Anonymous
or there is another
Anonymous
?
Vitaliy
Place all shared functions in one file(say, utils.py) and import them from there in each place you want to use them.
Mirco
Celery is not intended to replace crontab. It's aim is to proceed long-time operations. To schedule some tasks by the time one needs to use crontab.
Celery or other stuff like Django Q gives you much more flexibility but it depends for sure on the project you are working on Of course it's not to substitute crontab but again the flexibility and scaling is much better to avoid working again on the same stuff if the project grows up
Vitaliy
It is quite possible to hammer a nail with a microscope, but isn't it better to use a tool that is designed for this purpose?
Mirco
It is quite possible to hammer a nail with a microscope, but isn't it better to use a tool that is designed for this purpose?
I agree with your thoughts, but for example how do you integrate the results of the function processed with crontab into Django admin for example to easily check the log ? You should reinvent the wheel, spend time, set custom logs and so on ? What about if he wanna also add a simple async stuff not to block the request while processing ? What you say it's totally true, but it depends on what he has to do He can start doing the stuff with crontab and so on Tomorrow he should again on that config because it's not enough