Re: New to Django question about using it without ORM

2014-11-07 Thread Aliane Abdelouahab
and here is an excellent tutorial on python 2.7 : http://www.tangowithdjango.com/book17/ -- 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...

Re: New to Django question about using it without ORM

2014-11-07 Thread Aliane Abdelouahab
if you are in twisted, why you dident look at tornado? Le vendredi 7 novembre 2014 21:38:48 UTC+1, krmane a écrit : > > On 11/08/2014 01:46 AM, Aliane Abdelouahab wrote: > > - Django 1.7 has the features people always waited it, the the 'migrate' > > which allows you to change your schema and le

Re: New to Django question about using it without ORM

2014-11-07 Thread Krishnakant Mane
On 11/08/2014 01:46 AM, Aliane Abdelouahab wrote: - Django 1.7 has the features people always waited it, the the 'migrate' which allows you to change your schema and let Django rédapate it :) In my project, all the core logic and database queries (using sqlalchemy ) are in a different rpc based

Re: New to Django question about using it without ORM

2014-11-07 Thread Krishnakant Mane
On 11/08/2014 01:44 AM, Andreas Kuhne wrote: A couple of your questions answered: 1. You don't need to use Django's ORM, but you will not be able to use certain features, for example the model based class based views (ListView, DetailView, UpdateView). 2. To use djangos views and templates, you

Re: New to Django question about using it without ORM

2014-11-07 Thread Aliane Abdelouahab
- Google groups hide your email so crawler dont use it to gather emails for spams. - Django 1.7 has the features people always waited it, the the 'migrate' which allows you to change your schema and let Django rédapate it :) - the orm is independant, you can directly write raw sql if you want, th

Re: New to Django question about using it without ORM

2014-11-07 Thread Andreas Kuhne
2014-11-07 20:35 GMT+01:00 krmane : > Hello all, > I am absolutely new to Django. > I am really impressed with it's features. > I have used Pylons before, but I realise now that it just does not fit my > way of doings things. > I am into writing financial applications. > As a matter of Fact I have

New to Django question about using it without ORM

2014-11-07 Thread krmane
Hello all, I am absolutely new to Django. I am really impressed with it's features. I have used Pylons before, but I realise now that it just does not fit my way of doings things. I am into writing financial applications. As a matter of Fact I have GNUKhata a free and open source accounting softw

Re: running unit tests with legacy database: Error 1050, Table already exists

2014-11-07 Thread dpalao . python
I think I should start a new thread. It is a different problem, after all. On Thursday, November 6, 2014 5:13:09 PM UTC+1, David Palao wrote: > > Hi Collin, > Thanks a lot for the answer. I think you are right, and that was what > I was doing. Still, apparently the models could not be created >

Re: Newbie operational error with Django db tables

2014-11-07 Thread Mr. crazy
I have executed [1] and tried again but no luck, the issues persists I know that "downloads" table is missing yet I didn't in DionaraFR guithub anything regarding that table. That what specifically makes me wonder if I have to build that missing table

Whoosh autocomplete search logging for future analysis

2014-11-07 Thread Radek Svarz
Hi, what is the best practice to setup the logging of search autocomplete logging for future analysis? When using Whoosh as a search engine and django. The search is searching within hundred thousands of product names. We want to get the insight on typos and typical name abbreviations. The a

Django auto fill recipient in Django_messages

2014-11-07 Thread Ronaldo Bahia
I'm building a job board and I'm using django_messages for private messages. It works great but I want to auto fill the recipient form field with the username and I don't know why. Some thoughts? http://stackoverflow.com/questions/26804088/django-auto-fill-recipient-in-django-messages Thanks

django 1.7 - help with change in "Save as new" behavior when related inlines are marked to be deleted

2014-11-07 Thread Jonathan Morgan
Hello, I have an Event model (for an event like a concert or a play) that can have many Event_Dates (different showing dates and times of the concert of play). The model relation is implemented with a ForeignKey from the Event_Date model to the Event. In the django admins, I have the Event_Da

Where does django store auth migrations?

2014-11-07 Thread Dr Ed
Hi all, I feel a bit embarrassed even asking this question, because it must have an obvious answer... but when I do "./manage.py migrate -l" I see: *admin* [X] 0001_initial *auth* [X] 0001_initial [X] 0002_customer_payingcustomer_projectmanager_staff [X] 0003_auto_20141107_0803 *conte

HStoreField can't adapt type 'dict'

2014-11-07 Thread Vedran Čačić
I know it's very early release, but I'd expect the example from the docs to work. I started playing with HStoreField from django.contrib.postgres.fields, and get the error above. Model Dog is copied verbatim from https://docs.djangoproject.com/en/dev/ref/contrib/postgres/fields/#querying-hstore

Integrate Google Cloud Sql.

2014-11-07 Thread Daljit Singh
Hello, Greetings ..!! I need to integrate Google Cloud Sql to my django app. Can anybody light me a right way. *Thanks and Regards:* *Daljit Singh.* *daljit_si...@esferasoft.com* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: Advanced Tutorial (how to write reusable app), last step does not work

2014-11-07 Thread Dennis Kao
Hi I just face this same issue and stuck in it for few days, than find out the TEMPLATE_LOADERS setting, by default it has two way to find templates: 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader' but the 'django.template.loaders.eggs.Loader'

Page reload hang using django (python 2.7 in linux)

2014-11-07 Thread Mark Adward
I developed a web app to image process using python django framework. The app woks fine in windows But the problem i am facing on linux operating system. When i start the server using command:- python manage.py runserver , The app works only for the first time then When i click reload on the br

Re: Newbie operational error with Django db tables

2014-11-07 Thread Adailton Nascimento
The error that is giving and following this saying in your settings.py in APPS not contain the "downloads" or if you already have to add it only in the database, delete your database and run the shell [1]. or just run the command in the shell [1] I believe that updates the database without havi

Re: Django strange behaviour

2014-11-07 Thread Erik Cederstrand
> Den 07/11/2014 kl. 10.08 skrev termopro : > > I have a view in Django which calls external library/class. The problem is > that for some reason Django keeps caching results coming from previous calls > of that class. This is expected Python behaviour - see https://docs.python.org/3/tutoria

Django strange behaviour

2014-11-07 Thread termopro
I have a view in Django which calls external library/class. The problem is that for some reason Django keeps caching results coming from previous calls of that class. Please consider the following simple example: Django view: from some_path import Demodef test_view(request): demo = Demo