Need help transferring large amounts of data between models

2019-06-20 Thread Yoo
https://stackoverflow.com/questions/56695636/large-transfer-of-data-between-several-django-models Please take a look. I don't have a good grasp over my situation... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Open source project

2019-06-20 Thread wanbao jin
Hi, everyone. I am not new to python and willing to contribute something special and meaningful to python open source projects. Could anyone invite me to your interesting project? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: [Model, ORM] Disabling a field before actually removing it

2019-06-20 Thread Matthieu Rudelle
Thank you for the quick answer, although I am not sure what the second step mean and how it actually solves the problem? The missing column error appears even when no backward migration is called. Both version of the app run side by side, both connected to a single DB migrated with the new

Re: Freelance Django developer

2019-06-20 Thread mail2pramo
I am doing website it is like crm So can u help me to solve if I stuck Though remote only On Jun 20, 2019 7:30 PM, "Sithembewena L. Dube" wrote: > I have capacity to take on some freelance Django work. Message me for help > with your Django web apps and APIs. I accept remote work only. > > Kind

unable to import django packages

2019-06-20 Thread Shubham Chauhan
from django.urls import path,include -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send

Re: Component design question

2019-06-20 Thread J. Pic
Damnit, my port was wrong above, here goes, with list for content and dict for attributes as arguments instead of using *args, **kwargs: if not request.user.is_authenticated: content.append( Li( [A([_('Log in')],

Re: Component design question

2019-06-20 Thread J. Pic
Better for perspective to port the first example in second syntax to compare: if not request.user.is_authenticated: content.append( Li( A([_('Log in')], dict(href=reverse('crudlfap:login'))), dict(cls='no-padding'),

Component design question

2019-06-20 Thread J. Pic
Hi all, We're running some experiments replacing templates by Components (which support channels based data-binding amongst other niceties) in Python, i would like to run an opinion survey about two syntaxes before moving on. Syntax 0 is what seems more "pythonic" but requires a less strict call

Freelance Django developer

2019-06-20 Thread Sithembewena L. Dube
I have capacity to take on some freelance Django work. Message me for help with your Django web apps and APIs. I accept remote work only. Kind regards, Lloyd *Sent with Shift

Re: [Model, ORM] Disabling a field before actually removing it

2019-06-20 Thread Aldian Fazrihady
My solution to this problem was by adding more migrations steps: 1. Step to make the field nullable. 2. Backward step to fill value to the removed field. 3. Step to remove the field. Regards, Aldian Fazrihady On Thu, 20 Jun 2019, 19:37 Matthieu Rudelle, wrote: > Hi there! > > I am about to

[Model, ORM] Disabling a field before actually removing it

2019-06-20 Thread Matthieu Rudelle
Hi there! I am about to file a feature request but I figured this might have been discussed (although I can't find where). The use case is when removing fields in a production environment. We run our django migrations without downtimes, such that basically, from time to time we have an old

Consuming api

2019-06-20 Thread benson muchoki jnr
How do I consume Nodejs restful Api with Django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Django keep getting 104 connection reset by peer caused by adding simple video, can't forward video

2019-06-20 Thread Dominik Lech
I asked the same question on stackoverflow here: https://stackoverflow.com/questions/56667516/django-keep-getting-104-connection-reset-by-peer-caused-by-adding-simple-video. I want to add video to my django template. When I add it, video is unforwardable (I can't skip this video to other

Re: unable to import django packages

2019-06-20 Thread Milin Khalas
import urls instead of path , if you are working on django version 1.11 On Wed, 19 Jun 2019 at 04:11, KUMBHAGIRI SIVAKRISHNA < kumbhagirish...@gmail.com> wrote: > hi, > I just django started ,when I run my application ,it gives errors as shown > in figure > > -- > You received this message

What is the best way to write the code for Face Detection in Django ( Any Library or third party )

2019-06-20 Thread Balaji Shetty
*Hi* *Consider the following Scenario. We will take attendance in a class based on students Face Detection. Suppose there are 100 Students in a class. * *If Students Face detected then Presenty model field in ATTENDANCE will be 1 or 0. ( Boolean )* I have a model of Name STUDENTS consisting

Re: Wrong Redirect

2019-06-20 Thread Sipum Mishra
Hi Ramadhan, Instead of rendering to any page please use HttpResponseRedirect('put home page url where u want to redirect' ). And also import django.http import HttpResponseRedirect Do the above & let me know. I hope it will work. On Thu, 20 Jun, 2019, 2:41 PM ramadhan ngallen, wrote: >

Re: Wrong Redirect

2019-06-20 Thread Aldian Fazrihady
Hi Ramadhan, I think redirection is only needed on valid and successful POST. On invalid POST, I will re-render the current form + error message without redirection. Regards, Aldian Fazrihady On Thu, 20 Jun 2019, 16:11 ramadhan ngallen, wrote: > Hello Team > I created an app(called users)

[Urgent] 500 when requesting a file from browser.

2019-06-20 Thread vineeth sagar
I need to display images on canvas, so I have used the following snippet. The request is reaching the server but I get the following trace. Unable to make sense out of it, if any of you can help out, it would be great. function getImage(file_name, num_pages) { myimage = new Image();

Wrong Redirect

2019-06-20 Thread ramadhan ngallen
Hello Team I created an app(called users) for user registration If user enter two mismatched password an app should redirect to the same page. otherwise it should redirect to the homepage Unfortunately when user enter two mismatched password it redirect to the wrong url

Re: Internal Server Error: /tinymce/compressor/

2019-06-20 Thread Derek
This is where a tool like Docker is really useful; you can easily test a change like this in a completely clean environment - and quickly see if the problem is the new library version or actually just an issue with your machine setup. On Wednesday, 19 June 2019 05:33:03 UTC+2, Mike Dewhirst