Sachin
#needhelp I'm not able to deploy my Django website, Please if someone knows how to do it. dm me ASAP
Mirco
If you don't share code or references you won't receive any help because we don't have magic balls
Mirco
#needhelp I'm not able to deploy my Django website, Please if someone knows how to do it. dm me ASAP
Here there's no ASAP, if someone has free time, you will get an answer
Mirco
And if you don't provide the reason why you are not able to deploy, how can we help you ? The only thing we can do is telling you to start studying deploying topic on official docs
Anonymous
hey fox help me to figure this out i get this error whe i run project on local server AttributeError at /quote/show/4 'str' object has no attribute '_default_manager' Request Method: GET Request URL: http://localhost:8000/quote/show/4 Django Version: 3.0.6 Exception Type: AttributeError Exception Value: 'str' object has no attribute '_default_manager'
Anonymous
hello
Anonymous
anyone know how to host django made portfolio in azure ?
Mirco
anyone know how to host django made portfolio in azure ?
A simple portfolio by using Django ? Overkill
Aleksandr
Hi everyone. Does anybody know why Django doesn't restart html-template after save? (I use PyCharm)
Aleksandr
cache
On server side or pycharm? Where i can find it and fix? p.s.: it happend after i update django from 1.8 to 1.11.
Doragonsureiyā
anyone know how to host django made portfolio in azure ?
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 firsts results
Mirco
cache
No, this affects statics not html
Aleksandr
I found problem [0]['OPTIONS']['loaders'] = [ ('django.template.loaders.cached.Loader', [ 'django_mobile.loader.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ]) ],
Nasir
please I need help if any body can help me.
Doragonsureiyā
please I need help if any body can help me.
Please 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 a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
Share the code
https://www.codepile.net/pile/9MDLa3MZ
Hernan
Anonymous
i can't open the code
sorry, you may check on this https://pastebin.com/2YpLU3qn
Hernan
please share the view's code
Anonymous
please share the view's code
https://pastebin.com/gCG0Pzkg
Anonymous
urls.py https://pastebin.com/ZtaY6yVf
Hernan
en class QuoteView
Hernan
model = 'Quote' . this is the error
Hernan
without quotation marks
Angel
Some body here? As professional like you. I want just confirm some actions that i am going to do. about django.
Angel
I have a project Django 1.10 with a lots legacy plugins. The request is create django 3.0 but stay same structure table. So my question is .. i better update legacy (totall mess) or create from scratch 3.0 ?
Angel
Just i want a opinion
Angel
I am 90% that i need do from scratch using 3.0 but just i want confirm my actions. What think this community?
Anonymous
without quotation marks
It's working fine. Thank you for help
Shanu
Can we do jwt authentication on my custom user model in django
Anonymous
Django is not async, its sync
It can be by celery i think
Anonymous
Guys can you suggest how can i clear cache using command like laravel artisan command ...
Anonymous
Web sites
Nonverbis
Web sites
There are a lot of caches in web dev.
Angel
Is recommend upgrade from 1.10 to 3.0 or start from scratch?. i hear your opinions
Angel
Ok about tables, Just i need a some thing related migrations. Right?
Angel
I need import from old to new. just that.
Angel
am i right? just i want apply best practice
cj
Ok about tables, Just i need a some thing related migrations. Right?
you can keep your models' structure if you want
Angel
Then i need extract partial data from old to new db?
cj
and yes, make a backup of your data before attempting to do anything (doesn't matter if upgrading or starting from zero, always make a backup of your data)
Angel
according by models
Angel
?
Anonymous
In development server facing server error and with runserver command working fine with mysql db can you suggest what is may be actual problem??
@Garant
Hi. Who use django auth ldap? Help
Doragonsureiyā
Hi. Who use django auth ldap? Help
Please 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 a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
.
How do I send sms using Django? Twilio and textmagic charges a few bucks. Any free source?
Sunil G
I'm on Django 3.0.6.. I want to serve the static and media files... With debug set as false. I tried various ways... One or the other fails. Can I get help here?
.
Using zerosms but it's showing invalid credentials though I'm using the correct credentials.
Shanu
Can you tell me how because django does not provide such documentation or function so that I can verify my tokens like django rest framework provide like is authenticate,is admin or not in permission classes
cj
Django works with sessions
Shanu
Django itself doesn't work with tokens 🤷🏻‍♂️ that's why you have to use DRF
I am using dango rest framework but for authorization I am using jwt and also I am not using django default admin model I but my own custom user model so how can I verify my tokens
cj
I am using dango rest framework but for authorization I am using jwt and also I am not using django default admin model I but my own custom user model so how can I verify my tokens
well, if you're using your custom models, you have to make the verification by yourself too, implement some functions or middelware or decorator or whatever you want 🤷🏻‍♂️
Shanu
Okay thanks fr ur help
Shreehari
Ok can you provide such links
Sent one link in pm. Not sure if i can share link here.
Sunil G
Thank you Ashish @c0x6A
Raj
I need part time job in django developer
Way
Hello everyone, can someone describe what stages the migration operation goes through. My task is to implement the use of shemas in postresql. In the model I have set managed = True, I wrote my router (https://pastebin.com/qw8FA1DZ) and settings (https://pastebin.com/mSppQtpS), allow_migrate returns True, but tables are not created. If I remove the condition, then all the tables are created in one schema (this is logical), but when I try to separate by schemas, then no. The debugger turned on, looked. No sql request is sent
Anonymous
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) django.core.exceptions.ImproperlyConfigured: The included URLconf 'mysite.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Anonymous
please help someone how do i get rid of this error