Val
Can anyone tell me how to add a slide to my django website? I am still a beginner
Django Bot
>> Jobs - Software Engineer (Python) >> Blogs - Django, GraphQL & React - part two - Django REST Framework Authentication by Example with JSON Web Tokens (JWT)
Val
slide? presentation slide?
Don't know what its called but just a regular homepage slide with some cool effects
inchidi
Don't know what its called but just a regular homepage slide with some cool effects
something like this? http://materializecss.com/carousel.html#special
Val
yes
inchidi
umm its javascript not django
Val
umm its javascript not django
is there another way to do something like that?
inchidi
you can use https://kenwheeler.github.io/slick/ if you are not using materializecss
Val
okay thanks
inchidi
looks like you dont know what javascript is, i recommend you to read about it
Val
i do know what javascripts is. on a normal html website using adobe dreamwaver i normally use wow.slider to handle the slide on a website without coding since i just use javascripts only for the slides mostly. So i was thinking if that can be possible in django.
inchidi
i do know what javascripts is. on a normal html website using adobe dreamwaver i normally use wow.slider to handle the slide on a website without coding since i just use javascripts only for the slides mostly. So i was thinking if that can be possible in django.
then you really need to start read about javascript. yes its possible to do that with django, you will set it in your template and maybe pass data about your slide from views if you need it.
Bujj
Hi guys
Bujj
I need help adding multi user
Bujj
Developer: I have 3 different users admin, student and teacher.. how do i separate/create multi user for all of them so that each one of them can access his/her own backend
Val
Are you using django?
Bujj
Yes
Val
It's quite easy go through the admin after you have created a class for each level of users then you link up to the database via the django admin each user can have their details inputed.. Unless that is not what you meant?
Bujj
Okay
Bujj
Thanks i can try it
Val
Thanks i can try it
Alright you are welcome
Django Bot
>> Blogs - Django, Virtualenv, & Python .gitignore File
Abhi
have anyone worked on twitter library for python ?
Django Bot
>> Blogs - Episode #1 - Brian Michael Riley
Val
Please does this have a name: {% %}??
Lapanit ☃️
jinja_
Lapanit ☃️
?
Val
jinja_
jinja???
ENOENT
yes, it's just the jinja template syntax which django uses
ENOENT
(or you could say it's the other way around)
Anonymous
That's funny
Lapanit ☃️
the django template syntax which jinja uses?
ENOENT
yes, because it was the django template syntax first
Lapanit ☃️
no, ninja is an ide
ENOENT
but then somebody made a standalone library that was like the django syntax and had more features and was better and called it jinja
Val
no, ninja is an ide
Are u serious 😳😱😱
ENOENT
I don't really get why django doesn't just use jinja. You can use it with django, it's faster, backwards comptible and better in every way generally
Lapanit ☃️
Lapanit ☃️
Are u serious 😳😱😱
http://ninja-ide.org/
Lapanit ☃️
I shall stop talking now, or I'll lose my admin status
Django Bot
>> Blogs - How to Setup Amazon S3 in a Django Project
ENOENT
Does template counts to overhead?
well overhead is very subjective
Davo
What's the best way to handle different fields for different types of users in a user profile model? I've found examples which suggest creating a base profile model with separate models for every user type and a single multiple inheritance profile model. Is there a better way to accomplish this?
Anonymous
This is best I think
Anonymous
Ofc models would be different for each class of users
Val
hello everyone. can anyone tell me how to create a stylesheet that should hold my css code in pycharm community edition. i know this feature is not supported by the version but it there a way one can still use it in the community edition???
Django Bot
>> Jobs - Senior Full Stack Developer (Python / Django)
Anonymous
And btw if you're a student
Anonymous
Then you can get access to pro version for free for a year.
Val
Then you can get access to pro version for free for a year.
it for a month now. i just downloaded it and using it in free trial mode
Happy
Is Interprocess Communicating with Redis Pub/Sub a good way in Python?
Happy
Sorry, my English is not good
inchidi
What's the best way to handle different fields for different types of users in a user profile model? I've found examples which suggest creating a base profile model with separate models for every user type and a single multiple inheritance profile model. Is there a better way to accomplish this?
imo handling user in any way is good as far as not replacing Django user with our custom user. coz it will produce non reusable apps or maybe crash with django packages for user (ex: authentication packages)
Anonymous
I am using user unchanged
Anonymous
And doing all the logic separately and then storing data
inchidi
true, cmiiw docs told us to do that
inchidi
it for a month now. i just downloaded it and using it in free trial mode
you are student, you can get 1 year free for all jetbrains ide included pycharm https://www.jetbrains.com/student/
inchidi
true, cmiiw docs told us to do that
this part btw https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#reusable-apps-and-auth-user-model
Davo
Yeah. Just realized that :)
inchidi
*correct me if i'm wrong
Johan
Hi! How can i assign a file to filefield?
Lapanit ☃️
inchidi
yeah, first google result can solve it. except you mentioning forms.FileField
inchidi
btw as i recall you are the one who ask about frontend framework with django @s13g3lb4um ? i found this django and react presentation https://docs.google.com/presentation/d/1TRgDA-fImXTj88eeNW37iokt4ehuK8Q6Y-7hZnBqW4g/edit#slide=id.g35f391192_00
Val
https://pastebin.com/D3UTS6Ng
Val
please everyone, i am trying to create a navigation bar for my webapp using django but when i minimise my browser the span where the menu is seems not to come up at all to bring out the menu when the site is been view with smaller screen with lesser resolution. above is the link to my codes please any form of help to fix this will be apreciated
Val
its done?
No!!! Still when I minimize the browser the span does not collapse the menu navbar