Create an OAuth2 Client Application problem

2014-12-30 Thread Hossein Rashnoo
Hi I follow this tutorial and here i got error. when i try to access http://localhost:8000/o/applications/ its redirect to http://localhost:8000

Re: Can't save input to database

2014-12-30 Thread Vijay Khemlani
the code sample links are broken :( On Tue, Dec 30, 2014 at 4:59 PM, Thomas Lockhart wrote: > On 12/30/14 11:42 AM, Ronis wrote: > > Hi guys, I can't save the input from a custom form to database. I don't > know what I am missing. > > I'm not sure either. But the html

Re: delete OnetoOneField link

2014-12-30 Thread madjardi
thank you. you give me more confidence вторник, 30 декабря 2014 г., 17:19:53 UTC+3 пользователь Vijay Khemlani написал: > > If you want to change a user's cashbox then yes, you would need to use > your solution, but it's easier to get c1 by just saying > > c1 = user.cashbox > > instead of

Re: Can't save input to database

2014-12-30 Thread Thomas Lockhart
On 12/30/14 11:42 AM, Ronis wrote: Hi guys, I can't save the input from a custom form to database. I don't know what I am missing. I'm not sure either. But the html form you posted looks a *lot* like any template you might find in a django deployment. If it were me I'd look harder at just

Can't save input to database

2014-12-30 Thread Ronis
Hi guys, I can't save the input from a custom form to database. I don't know what I am missing. Because it's using a downloaded template from the web, I'm not using the django forms. Instead, I'm trying to simply save the input from the html form to the database. Im using the standard

Re: Django App for synchronizing File upload

2014-12-30 Thread Collin Anderson
Hi, There are a bunch of modules list here that should do what you want. https://www.djangopackages.com/grids/g/ajax-file-uploading/ Collin On Monday, December 29, 2014 10:45:54 AM UTC-5, Abdulhakim Haliru wrote: > > Hello Guys, > > > Here is my requirements.. I need to upload heavy files to a

Bristol (UK) startup seeks awesome Python/Django engineer

2014-12-30 Thread Joseph Edwards
## Summary Small startup in Bristol currently looking for an awesome software engineer to work on our existing code base. Ideally you'd be located in Bristol/Bath and be able to work from our office, or be able to visit our offices on a weekly basis, but remote/home working is also

Re: Django vs ExtJS

2014-12-30 Thread Frank Bieniek
Hi Joris, some of the best arguments for python + django, you could find here - : https://www.paypal-engineering.com/2014/12/10/10-myths-of-enterprise-python/ ... One language in particular has both a long history at eBay and PayPal and a growing mindshare among developers: *Python

Re: Error when change a CharField to IntegerField

2014-12-30 Thread Neto
before was empty, but I deleted the column and remade, thanks Em terça-feira, 30 de dezembro de 2014 11h52min14s UTC-2, Neto escreveu: > > I changed a CharField to IntegerField and when I did ./manage.py migrate, > appeared the message on terminal: > > django.db.utils.ProgrammingError: column

Re: Error when change a CharField to IntegerField

2014-12-30 Thread Jorge Andrés Vergara Ebratt
Hi, did the column had previus non-integer data in it? 2014-12-30 8:52 GMT-05:00 Neto : > I changed a CharField to IntegerField and when I did ./manage.py migrate, > appeared the message on terminal: > > django.db.utils.ProgrammingError: column "rotulo" cannot be cast

Re: delete OnetoOneField link

2014-12-30 Thread Vijay Khemlani
If you want to change a user's cashbox then yes, you would need to use your solution, but it's easier to get c1 by just saying c1 = user.cashbox instead of Cashbox.objects.get A more definite solution would be to add the OneToOne relation to the User model instead of the Cashbox object, but

Error when change a CharField to IntegerField

2014-12-30 Thread Neto
I changed a CharField to IntegerField and when I did ./manage.py migrate, appeared the message on terminal: django.db.utils.ProgrammingError: column "rotulo" cannot be cast automatically to type integer HINT: Specify a USING expression to perform the conversion. What is it? -- You received

Re: How to generate the docs with the new style?

2014-12-30 Thread Tim Graham
Unfortunately, the offline docs use an entirely separate layout/theme so the new styles would need to be copied manually over here: https://github.com/django/django/tree/master/docs/_theme/djangodocs I think it's a non-trivial amount of work and tricky because we are using things like web

Re: Django vs ExtJS

2014-12-30 Thread Jani Tiainen
On Mon, 29 Dec 2014 06:55:57 -0800 (PST) Joris Benschop wrote: > Hi List, > > I;m a data maangement specialist in a rather large multinational. I'm > trying to push Django as a fast development framework for front-end > applications of our databases. Currently the

delete OnetoOneField link

2014-12-30 Thread madjardi
class Cashbox(models.Model): cashier = models.OneToOneField('User', null=True, blank=True, related_name='cashbox', on_delete=models.SET_NULL) in other code: User.object.get(pk=1) user.cashbox = None AttributeError: 'NoneType' object has no attribute 'cashier_id' one version solving is: c1

django + OAuth2: Sessions

2014-12-30 Thread Anastasios Bakogiannis
Hi everyone, I am using python-social-auth to implement login via Google, Github, ... The problem I am having is that after the user is redirected to Google or Github the sessionid is reset. I want to preserve the sessionid in order to associate it later with the username. I did some research

Re: Django vs ExtJS

2014-12-30 Thread Guilherme Leal
I can say that, if you build your env like i tould you to, you would need only one senior dev, and only for critical cases (whole env crashed, or major new implementations). The other devs, can be junior devs, hired with the intent to be formed inside the company. Em Tue Dec 30 2014 at 08:44:08,

Re: Django vs ExtJS

2014-12-30 Thread Joris Benschop
Thank you both for these answers. Personally Im already convinced of Django, but the trick is to convince others. The strong benefit of java is that it is really easy to hire senior java developers on a consultancy basis. For django it is not so simple, especially when the requirement is to

Re: Django vs ExtJS

2014-12-30 Thread Ariel Calzada
DJANGO + Tastypie is your TEAM for REST Services, forget Java :) 2014-12-30 5:34 GMT-05:00 Guilherme Leal : > Given your scenario, we can say that with django, you wouldn't have to > worry about creating REST services. You would create only one service, and > let django

Re: Django vs ExtJS

2014-12-30 Thread Guilherme Leal
Given your scenario, we can say that with django, you wouldn't have to worry about creating REST services. You would create only one service, and let django manage the backend switch (with db routers). If you build your service well, you would have an abstract REST view/url generator (tastypie for

Re: Django vs ExtJS

2014-12-30 Thread Joris Benschop
Thank you, this is already very helpful. Currently company policy is to create REST services in java for each backend and use ExtJS to query and visualize the results. With DJango I'm trying to combine these into one, whilst staying compatible by using tastypie as a REST service (so ExtJS can