ʚɞÇherry Łoveʚɞ
rsync ?
who is
yes i know scp
Jimmies San
do you have technique to copy from production server?
sorry but if you have this kind of question maybe it's better if you don't do this. that's just my two satoshies.
who is
hehe ok
who is
i dont touch
Jimmies San
production error can be disruptive or worse :)
who is
:) thanks for the advice..
Jimmies San
the right practice is... a repository that contain the webapp. you clone it and study the production branch or whatever. if the code is only on production server you need an access [ssh], find the app location, copy outside webroot, archive it and download. but be careful
Django Bot
>> Blogs - python django Automated testing part 3(please read my previous post )) >> Links - amitt001/pygmy: Open-source, feature rich & extensible url shortener + Anal
Django Bot
>> Links - Django Hosting Europe
Pepeluqui
Any book about django 2.0 you could recommend me?
Pepeluqui
I have already read and practice with the book "Django for Beginners: Learn Web Development With Django 2. 0" of William S. Vincent
Pepeluqui
I am a python developer but I am beginner in django framework
inchidi
I am a python developer but I am beginner in django framework
New to Django? here is some resources to start Official docs tutorial Django Girls simpleisbetterthancomplex.com Mozilla Developer Network #videos thenewboston sentdex #books Django by Example Tango with Django
Pepeluqui
Thanks
Pepeluqui
Any book reference to use django framework in combination with MongoDB?
Django Bot
>> Links - django-bakery documentation
Django Bot
>> Links - django-bakery — django-bakery 0.10.5 documentation
Pepeluqui
I bought the paperback version here: https://www.amazon.com/Django-Beginners-Learn-web-development-ebook/dp/B079ZZLRRL
Anonymous
Hi every body I have a txt file every line is {Use:val,pk:val} I read it abd want do something by use.valu and pk valu but i cant split it truely becuse type of it is str How can fix this problem?
Django Bot
>> Links - Django Signup Tutorial - William S. Vincent
Django Bot
>> Links - python django Automated testing part 3(please read my previous post ))
Django Bot
>> Blogs - Make ALL Your Django Forms Better
Django Bot
>> Links - Intro to Django - OverIQ.com
Django Bot
>> Links - Make ALL Your Django Forms Better
Django Bot
>> Links - Writing your first Django app, part 3 | Django documentation | Django
Django Bot
>> Links - python - About 20 models in 1 django app - Stack Overflow - Installing Python 3 with virtualenv on CentOS 7 · Teststation
Django Bot
>> Blogs - Checking if you're pwned (with Django)
Django Bot
>> Links - "Bad request 400" in Django. Beyond the ALLOWED_HOSTS · AnvilEight Blog - How To Serve Django Applications with uWSGI and Nginx on Ubuntu 16.04 | Dig - gunicorn - What's should Django ALLOWED_HOSTS be when using a unix socket?
Abhi
Sorry is job posting is prohibited
You could have used jobs option in django bot instead
NRC
Hi friends, I am facing issue in django redirect to an url from view.. I have one html template containing multiple sections with id eg. 1,2,3,4,5. I am submitting one form from section 4 using POST, from view i am redirecting to same template with result but the template reloads and shows section 1 it should stick to 4.. to see the result i need to again scroll till 4. Is there any way the page will redirect from view to id 4.
Abhi
Use dpaste.de
NRC
Code is bit big.. if i cut short this question then it would be.. how to redirect to url containing id in it from view Eg. www.abc.com/#myid Where myid is a section id in my html
N S
Is it possible to modify the updateview to update the data of multiple records of a model
Anonymous
Is there any remote job opportunity i can apply for
Django Bot
>> Links - Error: "Wrong Manager" from template when accessing get_translation_aware_m
Django Bot
>> Links - Error: "Wrong Manager" from template when accessing get_translation_aware_m
Anonymous
AssertionError at /stocks/ ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the StockSerializer serializer.",)
Anonymous
please help
Mirco
I think you're missing which fields you wanna serialize
Mirco
http://www.django-rest-framework.org/api-guide/serializers/#modelserializer
Anonymous
i tried this
Mirco
into the class Meta, fields attribute
Anonymous
i followed the docs.still error
Mirco
use pastebin to send us the code , so everyone can help you better
Anonymous
https://pastebin.com/z0Ks1CpW
Mirco
Fields not field
Mirco
check the attribute name ,the correct one is plural
Anonymous
Fields not field
Wow, it worked Thanks man Alot, really appreciate👌
Mirco
good , you're welcome 👍🏻👍🏻👍🏻
Django Bot
>> Links - Make ALL Your Django Forms Better | Caktus Group - Chapter 5: Interacting with a Database: Models
Klim
[Graphene + Django] Can you help me? Why with this mutation i got: https://hastebin.com/vaviriwoma.pl Code: https://hastebin.com/dojasobufo.py
Anonymous
First of all please use a website like hastebin.com to share code
Anonymous
Ugh, hastebin is blocked by my ISP
Klim
Ugh, hastebin is blocked by my ISP
Will you help me, if i use pastebin?
Klim
Ugh, hastebin is blocked by my ISP
Code: https://pastebin.com/wiYukfpf Got: https://pastebin.com/bpX3Syq2
Jimmies San
Will you help me, if i use pastebin?
it's ok whatever service for code/snippet sharing :)
Mirco
Code: https://pastebin.com/wiYukfpf Got: https://pastebin.com/bpX3Syq2
Try to change model.User.objects.get with filter and try again Or you already know you don't have users with the same email ?
Mirco
Mmm I don't know the reason why I cannot find on graphene docs something that can clarify what triggers the error
Django Bot
>> Links - How to Use Flake8
Django Bot
>> Links - Making React and Django play well together - the "single page app" model - - pydanny.com
Django Bot
>> Links - GitHub - michiya/django-pyodbc-azure: Django backend for Microsoft SQL Serv
NRC
Hello.. i have one issue.. how to provide path to php script from js script.. both are in static folder and django {% ststic %}
NRC
Is not working
NRC
🤔
🙄
inchidi
the approach depends, its update bulk with same values, or different values
NRC
Trying to explain again.. i have one html form which send mail to the given id. For that on button click one js script gets call which is in static folder from that js script one php script gets call which actually send mail.. Now the problem is in url:"" i have mentioned php file name but getting error as php file is not found..
R
Why not send the email through django?
Mirco
Can u give any example??
https://docs.djangoproject.com/en/2.0/topics/email/
Mirco
have a look 👍🏻