Jijin
carson
add file path to settings.py
Yes I HV done that already
Jijin
Yes I HV done that already
if that path is correct then you won't get that error.
carson
OK let me check it well
carson
if that path is correct then you won't get that error.
It worked but I had to add my project name to installed apps before it works.
Jijin
:)
Mihail
guys, how to send initial velues to one of inline ModelForm fields?
Maksim
default
Anonymous
Hello everyone there is there anyway one could set a timer in django to restrict say registration within a certain period or date...
Anonymous
Yup, using a DateTime field
Oh thanks will that display a count down timer or something like that....
Ghorz
Oh thanks will that display a count down timer or something like that....
You could use a Datetime Field as a marker, bunch of Javascript at the front end for the counter, cron for the trigger.
Shubham
Hello I m getting "django.template.exceptions.TemplateDoesNotExist: phone_field/phone_widget.html" after click in admin
Shubham
what might be reason i have googled but no use
Maksim
Template does not exist.
Anonymous
In DRF, only AllowAny permission is working..... My Views.py class generate_course(APIView) : . . . permission_classes = (IsAuthenticated,) authentication_classes = (JSONWebTokenAuthentication,) def post ( self, request) : .... ..... .... I also define the setting.py. And also given the token in headers The postman giving the error { detail : Authentication credential were not provided. }
John
'str' object has no attribute 'get', what do you think is the possible reason I'am getting this kind of error. .
cj
John wanted to post this long code: https://hastebin.com/xefefewela
cj
can you, @akosineci at least read the rules to share code? also, it looks like the code you share is incomplete, also there's not a traceback to fully read the error message you got
Anonymous
Hi friends, I want to make a 200 gb file transfer panel in django. Can anyone give me an idea?
Anonymous
You need to login via postman and then use the token
All i have to write jwt before the token in headers
Anonymous
While posting image invalid header padding is coming
Fedor
@Ghorz hello again! I did the one you recommended me about Context manager settings. And i reached a goal using django-solo. Package, which provides singleton models, that enabled me to create Setting model, which is allowed be the onlky one entity in database.
Fedor
Guys, does anyone know the best way, how to save 2 images in different sizes and after that serialize them correctly? I can not find «right way».
Felex
Any part time job for django devs ?
Anonymous
Did you use django crop?
I don't want to crop the image I want all the image in the samw size..
Fedor
Did you use django crop?
Which django crop? There is no packages named django-crop
Anonymous
Any part time job for django devs ?
Me too need one ..Nairobi kenya
Ghorz
Which django crop? There is no packages named django-crop
Search well, you'll find, there are tons out there
Ghorz
Django image_cropping
Anonymous
hi.. i am having a prblm...
Anonymous
I have 3 table table 1,table 2 and table 3 now table 3 has 2 FK i from table 1 and table 2
Anonymous
now in view.py
Anonymous
by the help of table 3 i want related table 1 and table 2 fields onfo
Jorge Luis
That's a many to many relationship. Django have a model type for that. See Django model field reference
Manish
how to develop barcode scanner in django
cj
how to develop barcode scanner in django
it's just a simple input field, no black magic needed
cj
how is its needs any lib...
no, just it's a simple input field
cj
when you scan a barcode with the reader, it just writes the numbers down and sends the enter key
Wang
hello everyone
Wang
who used srcset of img element.
Wang
i m confused, why it don't select 1000.jpg
Wang
um? i can't upload picture?
Akash
Anyone know a django ready to deploy project template. Basically a fully working base template / open source project in which users can sign up, sign in, generate api tokens that’s it. You build the api endpoints and it’s ready to ship.
Manish
Hey i am facing migration issue with my custom user model.
Manish
i cleaned everything, deleted every migration files
Manish
even i am trying to run the codes on new system.
Manish
when i do python manage.py makemigration my accounts app doesn't create migration files on which i defined custom user model.
Manish
and on doing python manage.py migrate
Manish
it gives me error of dependency of migration
Akash
I have it
Great can you share the repo link
Anonymous
I haven't uploaded it anywhere
Anonymous
I have basic registration Jsonwebtoken generation otp verification in DRF
Akash
I have basic registration Jsonwebtoken generation otp verification in DRF
Will you be willing to share ? Or what’s the process to get a copy of it
Anonymous
I will open-source it
Anonymous
Maybe today
Akash
I will open-source it
Awesome... looking forward to it. What’s your github link so I can check when it’s released
Anonymous
I will share it here
Anonymous
Keep in touch
Akash
Thanks
Jaickssparrow
Anyone help me with real time django project
Jaickssparrow
Hi
Jaickssparrow
Can anyone help me
Anonymous
Mohit
How do I package a Django project ?
Mohit
to make it distributable & update it if any changes occur ?