a very simple beginners question

2012-05-02 Thread alon
running $python manager.py shell opens a python shell is there any way (a parameter) to make the manager run a python file with my commands?? thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: multiple managers in admin for same model

2008-07-20 Thread Alon Levy
n route (hope it doesn't turn out to be too much work - I'm already at rev 7500~). Alon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dja

multiple managers in admin for same model

2008-07-10 Thread Alon Levy
nt (svn) django. So does anyone know of a simple way to get two different manager views in admin? Thanks Alon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: Uncaught TypeError: Cannot read property 'value' of null

2015-03-18 Thread Alon Nisser
Does the browser support getElementById? old browsers don't support it.. If not the your aren't really adding the input tag in the same page where you run the js script. The js by it self is valid (if an element with this id exists, and only one of course).. On Tuesday, March 17, 2015 at 5:47:

Re: how to get get-pip.py

2015-06-04 Thread Alon Nisser
1. Please, This is an open source community, with people answering questions here on their free time (no one here is getting payed to answer). so no need for the BOLD Frustrated type. 2. Specifying you are on windows from the beginning would help, Lots of us are using different flavors of wind

Re: can i use sqlite for big project?

2015-06-26 Thread Alon Nisser
Using sqlite would bite you in many way, not really transactional for example, some features (such as certain variation of ```distinct```) not supported etc. Use Postgresql, If you find it hard to setup you can use RDS (that has amazon web services offer of postgresql) or heroku postgresql - bo

Re: Django 1.7 opening one database connection for each request

2014-09-10 Thread Alon Nisser
First of all - I would advice you to downgrade your production site back to the working django version you know and *after that , Check your site compatibility (including all third party libs and apps) *to django upgrade in a staging environment.. On Wednesday, September 10, 2014 8:32:24 AM UT

Re: Need to search through several tables using one model

2014-12-13 Thread Alon Nisser
You could also create a model that foreign keys to all the relevant models, and filter on that.. Buy first you need to clarify (for your self..) The exact use case: is it search? if so better use haystack with some search backend (elasticsearch would be a great choice), Is it to choose somethin

[HELP] Custom 2 step authentication where the user's password is a public key

2015-01-09 Thread Alon Muroch
e the challenge is the actual user ? Will be happy for suggestions on how to go about doing this. Alon. -- 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

Re: [HELP] Custom 2 step authentication where the user's password is a public key

2015-01-09 Thread Alon Muroch
Hey Eric, thanks for your reply. The scheme will work as a restfull service (i use tastypie) and is designed specifically to work for a bitcoin cloud backup service. The reason we want to implement such a scheme is so if the password is compromised, an attacker cant download the encrypted data s

Django with rabbit (but without async celery) - can be done?

2014-02-25 Thread Alon Nisser
I need to implement a quite simple Django server that server some http requests *and *listens to a rabbitmq message queue that streams information into the Django app (that should be written to the db). the data *must* be written to the db in a synchronized order , So I can't use the obvious ce

Re: Django with rabbit (but without async celery) - can be done?

2014-02-26 Thread Alon Nisser
so there is something (a process) > sending a message through rabbitmq with data that needs to be written to > the DB, now, this needs to be synchronized, sync with what? an http > request? ordered execution of writes? > > Regards, > Carlos Ruvalcaba > > On Tue, Feb 25, 20

Re: Django with rabbit (but without async celery) - can be done?

2014-02-26 Thread Alon Nisser
6:10:50 PM UTC+2, jondbaker wrote: > > Could you write a RESTful API in your Django project, and then issue POST > requests to that from a middleman script that the mq could communicate with? > > JDB > > > On Tue, Feb 25, 2014 at 8:28 AM, Alon Nisser > > wrote: >

Using Redis as a DB backend for some models (not a caching backend!)

2014-03-14 Thread Alon Nisser
Can I use redis as a django database for some of my models? I'm aware (and using) caching with django and redis, but I'm looking for something else here: Something I can use at least some of the orm features with, handle a django Model, etc. I found django-redis-engine

Re: Production django server : NoReverseMatch: Reverse for 'login' with arguments '()' and keyword arguments '{}' not found.

2014-04-21 Thread Alon Nisser
Why did you specify production server? does the code work correctly on a staging/development server? Is this error only in the production server? If so, probably a configuration Issue On Saturday, April 19, 2014 2:25:04 PM UTC+3, 董健 wrote: > > i got NoReverseMatch when deloy cartridge to the web

Stuck on Tutorial-- can't import Question

2014-05-05 Thread Alon Nisser
Try to import Question from the shell. python manage.py shell >>from polls.models import Question I guess you have a typo in the model that raises the import error. If it does import in shell then you have some other issue -- You received this message because you are subscribed to the Google G