007
but problem is my url loading template dynamically :- url(r'^one/(?P<type>\w+)/$',views.one,name='one')
007
depending on type it redirect into different template and i want to access that template paragraph using navbar
Mirco
and what's the problem ? with window.location object in js you can access to all parameters of your url
007
yeah... Got it , thanks👍🏻
Puranjay
Have someone used jchart?
007
i have used echarts.js
Puranjay
I am having two list say A=['monday','tuesday'] B=[1,2] From these 2 lists I want to generate a dictionary like {{'day':'Monday',daynumber=1},{'day':'Tuesday',daynumber=2}}
Puranjay
How can I do that?
Puranjay
Yes
Puranjay
I resolved that
Puranjay
Thanks
Anonymous
I am a newbie to Django, can someone guide me to good material
Anonymous
Thanks
Srinivas
can any one help me, how to read the metadata of the file using python, I want created date, modified date and user who created or modified that file
Anders (izzno / gooood) 🇳🇴
What package manager do you use to handle statics like bootstrap / js libraries etc?
Anders (izzno / gooood) 🇳🇴
Puranjay
I used canvasjs for charts But the problem I am facing is I can't show the data dynamically(which I passed in views function)
Puranjay
How can I do that?
Puranjay
Anyone?
007
Store data into js variable and pass this js variable as input to charts
Aadhi
Guys one simple double, Can wet YES and NO value in Django Boolean field instead of TRUE and FALSE
Aadhi
*can we set
Aadhi
Thanks brother😊😊😊😊😊
Vaibhav
i have integrityerror
Vaibhav
please solve
Mirco
If u don't send any code, I don't think someone will help u
Vaibhav
which code
Vaibhav
error??
Mirco
Yes and your actual source code that cause the error
Muflone
Let's grab a glass sphere
Vaibhav
micro i dont have time as i have to submit by project within 15 min
Vaibhav
please if u can solve
Vaibhav
because i am working through teamviewer...
Muflone
Now you have only 9 minutes
Muflone
Time's out
Muflone
@Webdevelopersoni in the future if you want help you have to publish your code in a public website like pastebin so people can read it. If you don't do this no one will help you
🏳️‍🌈Robby [ Private Message = Spam]
micro i dont have time as i have to submit by project within 15 min
Oh so you're cheating? If you can't do the code test, you're not qualified.
Anonymous
Hi
Anonymous
Finally a place I can get help from
Anonymous
Anyone know how to implement @tags in the comment section for django
🏳️‍🌈Robby [ Private Message = Spam]
Finally a place I can get help from
https://www.dontasktoask.com
🏳️‍🌈Robby [ Private Message = Spam]
Anonymous
i have integrityerror
Your table has duplicate values most likely
🏳️‍🌈Robby [ Private Message = Spam]
It's not my business, sorry man
Yeah their emergency isn't yours
Anonymous
What research have you done?
I've googled, checked stackoverflow
Anonymous
YouTube etv
🏳️‍🌈Robby [ Private Message = Spam]
i have integrityerror
lmgtfy.com/?q=django+integrity+error
Anonymous
hey everyone.. i am starting learning django so any suggestions? or any book which i can go through?
Anonymous
There are several things I hate about django and its due to lack of info
Anonymous
😂
🏳️‍🌈Robby [ Private Message = Spam]
😂
Seriously look
Anonymous
ok listing pls
Anonymous
tell
🏳️‍🌈Robby [ Private Message = Spam]
tell
I gave you resources. Go read.
Anonymous
thanks alot🙂
Anonymous
Several things ive implemented in django were figured out by me tbh...even Laravel has many tuts, django devs need to work on this
Muflone
Basic tutorials can be found in djangogirls and in the Mozilla website
Muflone
Several Django hints can be found in Medium
Anders (izzno / gooood) 🇳🇴
Anonymous
I meant something like Twitter's @user
Daniyal
How to serve static files using Nginx? I'm getting a 404 error for all static files
Daniyal
http://dpaste.com/1XRFMPJ My configutation
Daniyal
STATIC_ROOT= '/home/fsc/server/fsc_backend/fsic/static/' STATIC_URL = '/static/'
Daniyal
My settings.py
inchidi
http://dpaste.com/1XRFMPJ My configutation
if you run ls /home/fsc/server/fsc_backend/fsic/static can you see files generated from collectstatic?
Daniyal
Nevermind I solved it! Apparently chmod was the missing part
inchidi
okay noice