Hass
No its empty
Anonymous
Created
See put the app name inside installed_apps list . Then run python manage.py makemigrations app_name
Anonymous
Make sure u specify app_name after makemigrations cmd
Anonymous
Then run migrate cmd
Hass
ok let me try
cj
No
how did you create the app? using django-admin createapp right? right?!
or did you create a folder and all files manually?
Hass
😂 I created the way it is
Anonymous
Anonymous
Anonymous
If u have multiple apps , u have to put app name at the end of migrations command
Anonymous
Anonymous
Of the corressponding app tht u want to make migrations of
Hass
Do need to specify after hitting migrate command also
Anonymous
Anonymous
Only for makemigrations
Hass
Bro there an error
Hass
In admin panel its registered the model but after tapping the model it says no such table
Alex
Anonymous
Anonymous
Hass
Bro see error
Anonymous
Ok
Vishnu
Hey guys how can we upload a csv file using django
Vishnu
With validations
Arezoo
file = models.FileField(blank=False, null=False, validators=[FileExtensionValidator(allowed_extensions=['csv','txt'])])
Gabs
someone has got this error...?
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Mirco
Mirco
You must set SECRET_KEY into your Django settings
Focky
Gabs
in settings.py on line 24 there is a variable SECRET_KEY that contains a key
Gabs
I have it, I don't understand why it gives me that error
Anonymous
Can I display data analysis plots in Django template
Mirco
Holla
Path('home/',HomeView.as_view(),name='blog-home'),
error function has no attribute 'as_view'
I even check the documentation couldnt help
Holla
Anonymous
Hello,
I wanna ask about django implementation with TDD(Test driven development)
Is that possible? Someone have tried?
I really appreciate any explanation
Thanks in advance
Doragonsureiyā
Anonymous
I want to have dynamic choicefield in my app models , like i want to have predefined choices and then when user gives more options tht should be uploaded on same fields and next tym all these choice should come up . Any idea how can i do this ?
Alex
provide the full traceback (via pastebin)
Alex
Alex
Yuvi do not pm me and I'm not your bro
Mohd
hello everyone
i am getting error while doing migrate becouse i delete all migration file and do re makemigration but after migration my migrate is not migating. Is there any solution please tell me if anyone know Thankyou
mr.INSOMNIA
Hey, everybody! I need some help on django + uwsgi or django + gunicorn. I tried to setup both, everything worked fine, but nginx didn't serve static/media files,. Anybody, help me, pls. If you help me and everything works smoothly, I'll pay you 25$ in Bitcoin.
Bagas
reponse = testcase_client.get(...)
How can run javascript function inside response content?
Alex
on
Hi everyone i want to let users to track their consignment in my website
Mohd
Anonymous
Mohd
Halit
You can get a copy of the db to another location before dropping it. But let's wait for a better answer. I don't know.
Alex
Mohd
jūdê
Alex
But I think that you are trying to do something really weird.
John
Is there any way to host django website for free I used django as a my mobile backend so I thought if I get free hosting so it is batter for me
I already tried some free hosting plateform like pythonanywhere heroku AWS but all of there give free hosting for a time lap but I need hosting for lifetime or atleast 2 year
Bagas
Shreehari
Hey guys i need a clarification.
I am using uuidfield as id (pk). I am converting it into int while generating jwt token. If i use that id from token to filter database, that should work right ?
Anonymous
Hello friends
Does anyone know why I get this error..
Django 'AnonymousUser' object has no attribute '_meta'
Anonymous
I get the error on my template when registering a user by it's saved on the database
entropy
Anonymous
entropy
yes.
Anonymous
Anonymous
Any good resource that directs how to power a flutter mobile app with django backend using REST!?
old
I'm trying to load objects in view py from model.py but my visual studio yells that I have no objects on that class what may be the problem
Anonymous
Anonymous
Anonymous
WPA2
Anonymous
Gri 🇦🇷🇺🇾
Hi , how are you? I've got a problem installing Django, can anybody help me please?😣