Sergei
ok, that's great thanx a lot, fellas
diproger
how can i make local project from running project in server? can anyone help me? Step by step
Ronald
how can i make local project from running project in server? can anyone help me? Step by step
Git push server to a repo (GitHub / gitlab) and then clone it on your local machine
Luis
how can i make local project from running project in server? can anyone help me? Step by step
As @ronaldl93 said, just copy your production project folder to your local machine, install python dependencies using pip (for example) and run development server in your local machine
Ronald
Onto your venv
Ronald
requirements.txt?
Yes including that
Luis
requirements.txt?
pip3 install -r requirements.txt
diproger
Onto your venv
what does that mean?
diproger
exactly
Ronald
what does that mean?
Virtual environment
diproger
how about pip frezee or that kind of commands ?
Ronald
how about pip frezee or that kind of commands ?
pip freeze -> requirements.txt
Ronald
On your server
Ronald
Before pushing to git
Ronald
While you're in your venv
inchidi
fyi after some considerations between group admins, start from now you cant send media in this group. you can use any image sharing service when you need, just like how you share codes. pinned message updated accordingly. thank you
Luis
Anonymous
hello
Anonymous
I am learning new Python and I want to help design a site that presents the results of the names of the competing teams and the results in football
Anonymous
😊
Anonymous
I want the code as soon as I hope because I have a test
cj
🙄
Ronald
😳
Mirco
I want the code as soon as I hope because I have a test
I think you should take some money out of your wallet 😁
Anonymous
😔😔
Mirco
You have to write that code by yourself, we can help you if you have problems ( Django related ) but we aren't here to do your own stuff
Anonymous
https://stackoverflow.com/questions/10672714/form-is-not-valid-why
Anonymous
Thank you for having a problem I will ask you for
Xyz
Hi, has anyone tried implement social authentication via drf, I can't seem to wrap my head on the flow
Xyz
Yh that was an option, but I feel allauth has lots of stuff I won't need
Xyz
I'm quite familiar with python-social-auth, but getting it to work with drf is quite confusing..... Djoser library has an implementation of it, but the docs are not extensive
Ghorz
Yh that was an option, but I feel allauth has lots of stuff I won't need
Use what you need, drop what you don't need. That's the routine
Xyz
Alright.... Thanks boss 🙌
Xyz
I'll check it out
Anders (izzno / gooood) 🇳🇴
Does anyone know a dev tool for chrome that acts like a cashbuster. Reloading everything on each refresh? Having issues with JS files being cashed by the browser
inchidi
did you mean 'cached' or its something else?
Anders (izzno / gooood) 🇳🇴
can you tell me what cashbuster is? i never heard that term
When making changes to your production code and releasing it, users might not see those changes becouse your site is cashed in their browser. adding somthing like "?=giberish" to the end of the link forces a reload as its not the "same" page.
Anders (izzno / gooood) 🇳🇴
aka cashbusting
Anders (izzno / gooood) 🇳🇴
Oh god, yes of course
Anders (izzno / gooood) 🇳🇴
cache
Anonymous
yes
Anonymous
and you can try opening every build on private tab
Anders (izzno / gooood) 🇳🇴
anyway, have you tried CTRL+F5?
ctrl-shitf-r works too.
inchidi
true
Anders (izzno / gooood) 🇳🇴
and you can try opening every build on private tab
Yes, but i can do three sessions, my normal user, incognito, and guest....
Anders (izzno / gooood) 🇳🇴
But if i want more...
Anders (izzno / gooood) 🇳🇴
just wondering if there where any tools out there,
inchidi
i dont remmember about chrome, but firefox have that option (for not caching the page)
inchidi
iirc its a check box with label "prevent cache"
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
omg, cash.... 🙈
Anders (izzno / gooood) 🇳🇴
all these "new" languages are making my brain spin...
Anonymous
can any1 tell me where to keep Viewer JS folder in project
Anonymous
https://viewerjs.org/instructions/
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
static/js/....
Anonymous
then link will be like this or different <a href="/ViewerJS{{ fileobject.url }}" > its image link
Anders (izzno / gooood) 🇳🇴
I would not now as I dont know what is does and how it does it.
Anders (izzno / gooood) 🇳🇴
but if its a static library it shouold go in static
Anders (izzno / gooood) 🇳🇴
https://stackoverflow.com/questions/31165666/using-viewerjs-with-django
Anders (izzno / gooood) 🇳🇴
A wuick search and seems like you should put it in static.
Adil
Hey guys, anybody can help me with roadmap of learning django?
Anders (izzno / gooood) 🇳🇴
None
Hey guys, anybody can help me with roadmap of learning django?
Do you know what is it x = [i for i in y] ?