De
Step 1: do fake migrate Step 2: Now change your models what u want update Step 3: make migrations Step 4: do again migrate I hope this will work,after that if you facing any issue let me know please
Also I have tried the following -updated the python version from 3.6 to 3.8.9 , -i deleted all file on migration folder except the init file and deleted the sqlite3 file -i started another project, i wanted to copy paste the current project there but after writing the model and do migrations , cannot detect changes. But non of these works
Jim
What hosting do you use for Django webs?
Fazil
Has anyone deployed Django app on shared hosting via cpanel?
Fazil
I am trying to do the same and I need some help
Мурат
Who knows why pycharm doesn't want to index all the files?
Мурат
10:58 Indexing completed in 25 sec. Shared indexes were applied to 433 of 3,677 files (11%)
Мурат
I can't import django modules through the prompts.
Anonymous
Can anyone tell what HttpReaponseBase is? How is it different from HttpResponse
.....
Using html form how to post data on web server witout using model in django
Gitonga
What hosting do you use for Django webs?
https://m.do.co/c/34393b1caf22
Doragonsureiyā
Using html form how to post data on web server witout using model in django
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Deleted
https://stackoverflow.com/questions/67174154/ul-class-errorlistlidisciplineul-class-errorlistliselect-a-valid-cho
Arslan
Write your questions here
Mirco
!meta
Doragonsureiyā
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z" Just ask about your problem directly! With ~90,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Devo
How django rest API authentication is done??
cr
I am creating a signup form for customer . I have added validation conditions for name phone etc , If Condition are not met it's showing error in HTML page But all the entered values are also disappearing. How to avoid this
Vxvek
In django how to download PDF file after form submission
Vxvek
How to return PDF file any one??
Agent Q
How to return PDF file any one??
https://t.me/django/151128
Skv
How to build an e-commerce website in django
Vxvek
https://t.me/django/151128
But bro not like this I already have PDF in my media I just need to return that file
Zey
How to build an e-commerce website in django
If u know the basics u can make on your know
Skv
😅😅😅
Zey
Well there are also many tutorial available on YouTube if u want follow them
Anaconda
Guys is there any job for fresher in python field?
vijay
hey any job for python selenuim devloper
vijay
only $3 per hour
Anonymous
anyone know about decorator in django
Mustafa
Hello everybody,anyone can help me about bulk_create
Honey Reddy
Hello any one help Django technical task
Honey Reddy
Please dm me
Саид
Hi
ogassi
Hi guys, can smb help with tests? https://gist.github.com/cruelflanky/3ab8857996ffbdce6d189cd8e690a517
Саид
Hi guys. I came across a problem that when using min_num in my Formset , TOTAL_FORM became equal to the value of min_num, with an empty form, maybe someone has already encountered this?
Honey Reddy
Please dm me
Mirco
Shubham
Hello everybody,anyone can help me about bulk_create
Sure, can you elaborate your scenario?
Shubham
its depends on your coding style, by the way using oops will give much reliable to code in django. creating abstracts classes for your specific task will help you a lot.
De
Basically this issue happens when you delete __init__.py file accidentally, check this file exist in migrations dir (other dir too) or not.
The init.py file is there and if that may be problem , i started another project but t has the same issue. I even do python manage.py flush, which deleted everything except the table
Shubham
can you share your repository link.?
De
can you share your repository link.?
I'm going to share the code soon.
Shubham
I'm going to share the code soon.
api ├── admin.py ├── apps.py ├── filters.py ├── __init__.py ├── managers.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_auto_20210220_2021.py │ ├── 0003_auto_20210220_2022.py │ ├── 0004_auto_20210221_0551.py │ ├── 0005_store_timestamp.py │ ├── 0006_auto_20210221_1717.py │ ├── 0007_auto_20210221_1914.py │ ├── 0008_remove_photo_thumbnail.py │ ├── 0009_store_address.py │ └── __init__.py ├── models.py ├── paginations.py ├── serializers.py ├── tests.py ├── urls.py ├── utils.py └── views.py
Zey
Do anybody know why css stops loading and after sometime it's okay?
Zey
Network timeout
But it happens again and again and then I have to make changes in my css but sometimes width increase sometime height etc..
Zey
And now I have to write my css in template
Agent Q
But it happens again and again and then I have to make changes in my css but sometimes width increase sometime height etc..
2 different problems. If it stops loading, its a network problem. If its making changes with your CSS and its not consistent, that's just you not using CSS properly.
Agent Q
But before it's okay
Whatever that "okay" is, I assume it loads completely. Again, its your network intermittent timeout.
Agent Q
Do anybody know why css stops loading and after sometime it's okay?
Are you working on localhost or on the server or what?
Agent Q
Localhost
Then its weird to get network intermittency. Check your devtool's network and see why CSS isn't loading next time.
Zey
Ok
Shubham
Localhost
Simply goto inspect elements, switch to network tab and tap on disable cache.
Shubham
this will loads always new or update files from cdn or from static load.
Zey
Simply goto inspect elements, switch to network tab and tap on disable cache.
Done, Thanks and I will hope now my problem will solve
Shubham
Believe me, I have struggle a lot for this simple solution.
Zey
Same here
Shubham
And I suggest to do custom css on firefox.
Zey
Ok,will do
Shubham
tree command in cmd or terminal
Shubham
in linux you have to install tree
Shubham
and wrap with 3 backticks