Maja Baki
this my problem i need help
Luis
Please, do not paste all the exception message in the group. Upload it to pastebin and share the link next time
Maja Baki
OKAY
cj
Shaparaty wanted to post this long code: https://hastebin.com/iyisusepiq
Maja Baki
Maja Baki
Maja Baki
Is toploaded
Luis
Ok, and where is your templates for located? It's in project root directory or inside your app dir?
Maja Baki
I add it in app
Luis
Ok, check if you set to True the TEMPLATE appdirs setting and if it's enabled, then try to change your template reference from "top/base.html" to "base.html"
Maja Baki
Okay thank u sie
Maja Baki
i solved this now is working thank u
Sh
https://www.youtube.com/watch?v=clrtT_4WBAw
Understanding DB
RP
Sh
any freelancing projects for django?
Sh
i am a python/django developer
Sh
willing to work for 1-2 hours daily
Sh
thank you
Kapil
Hello All,
I have executed my DJango application on Linux server and shared web link with 6 users. When all users used application at same time after 3-5 minutes they have received white page saying communication is lost. Could you please let me know how this can be fixed or I need to follow some other approach to launch my application.
Thanks in advance
Sh
what is the DB connection max age
Anonymous
How to set session expire time
Kapil
Anonymous
clog
Anonymous
hey guys
Anonymous
i use this code in my views.py
class BlogCreate(generics.CreateAPIView):
lookup_field = 'pk'
serializer_class = MySerializer
def get_queryset(self):
return Posts.objects.create()
Anonymous
when i sent request to my api i see this
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Anonymous
Shouldn't the methods POST and OPTION be seen only?
Arnak
http_method_names = [u'post', u'options']
Anonymous
ERROR: Command errored out with exit status 1: 'C:\Users\athar\Anaconda3\envs\Mydjangoenv\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\athar\\AppData\\Local\\Temp\\pip-install-5mw3m6_n\\misaka\\setup.py'"'"'; file='"'"'C:\\Users\\athar\\AppData\\Local\\Temp\\pip-install-5mw3m6_n\\misaka\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\athar\AppData\Local\Temp\pip-record-j774_vbo\install-record.txt' --single-version-externally-managed --compile --user --prefix= Check the logs for full command output.
Anonymous
i have this error during installation of misaka
Anonymous
please help me to solve this error
Master
First: use pastebin to put all traceback and share link with us.
Anonymous
ok
Master
Second: which python version are yuo using?
Anonymous
3.7.1
Anonymous
http://dpaste.com/24Y5HEP
Anonymous
@Hikaon brother this is link of error
Master
And what exactly you not understand from this phrase: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ ?
Сергей
I trying set to datafield date now according with my timezone, but I cant undestand how time formed and time change after reload django server
Master
N
Is it possible to host djnago website in godaddy Web hosting ?
Sh
N
Some one said it's required vps i have go dady economic Linux hosting plan
Master
For django hosting you need only linux/any-OS and ability (via SSH for example) to install software into it like Apache/Nginx and Django itself
Anonymous
Anonymous
I want to make a student performance prediction is it possible in djangy
Prasanthari
Anonymous
Anonymous
It will run in the background
Prasanthari
I think we can't use Ml and django at the same time..
Anonymous
It's like u use a gui
Not Your Dad
Prasanthari
Sirius
Hello everybody!
Help please!
I need to convert from SQLite to MySQL.
Anonymous
Shivam Negi
anyone did CI/CD of django app to heroku?
Anonymous
Shivam Negi
can I ping you? Need help
Anonymous
Anonymous
Why signals are used in django
Aamin
For India: Requirement for python developer in Tech Mahindra, Hyderabad location. Forward ur resumes to bashashaikh.bo@gmail.com
Mendes
Shubham
Hii guys i need a small help related to datetime in Django.
I'm having a model which has a field datetime.
Using forms i display it on template using CBV.
But in template the field is coming as text field. How do i make it as datetime filed?
Note: I have already tried making it a widget and giving field type as datetime-local. This gives me in valid date/time error.
Please help
Андрей
Hi, there is my snippet https://pastebin.com/qAaYsGZy
How i can get list of parents from queryset of child?
Shubham
Using select_related
Shubham
qs = Child.objects.select_related('parent').all()
Shubham
Anonymous
Ismael
Ismael
You can use datepicker widget using parameter widget of your form field in your form class