Re: Using Django and R in a production environment?

2013-04-23 Thread Derek
Thanks Per-Olof No, it has more to do with the issue raised here: https://github.com/Sleepingwell/DjangoRpyDemo/blob/master/README.md#django-configuration Possibly Celery could solve that (?) but I really would like to hear from someone who actually has a production configuration set up and work

Re: x|add:-1 in templates doesn't work as I expect.

2013-04-23 Thread Marcos Borunda
for others looking for an answer, put your value between double quotes: Previous | Next El jueves, 6 de diciembre de 2007 15:44:32 UTC-6, J. Clifford Dyer escribió: > > Hello. > > I'm trying to get a template to render previous and next links on a series > of pages, as follows. > > Previous |

Re: Problems Adding Django South Tool

2013-04-23 Thread Ashley Snelgrove
I'm guessing that southtut also needed to be added to the list of INSTALLED_APPS. On Thursday, August 23, 2012 8:57:58 AM UTC-6, Fyodor Wolf wrote: > > What was your Solution??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Re: Upload csv file

2013-04-23 Thread Mario Gudelj
Have you looked at http://django-csv-importer.readthedocs.org/en/latest/? On 24 April 2013 05:38, Hélio Miranda wrote: > I have a Django application that interacts with the mongodb data entry. > But now he wanted to be able to insert data from a csv file upload. > > Someone can help me? > > -

Re: Manejo de Session

2013-04-23 Thread Charly Román
En este grupo todas las publicaciones son en inglés, puedes traducirlo o publicarlo en una grupo en español, como este: https://groups.google.com/forum/?hl=es&fromgroups#!forum/django-es Saludos! El día 23 de abril de 2013 16:33, Alicia Acevedo escribió: > Hola queridos amigos, mi problema es el

Manejo de Session

2013-04-23 Thread Alicia Acevedo
Hola queridos amigos, mi problema es el siguiente, estoy haciendo una especie se SSO con una matriz de acceso que diseñé. La idea es que al loguearse se listen solo las aplicaciones a las que el usuario tiene permiso de acceso y pueda acceder a esa aplicación (que estan en servidores diferente

Re: Error on use django-fluent-dashboard app

2013-04-23 Thread Charly Román
See this: http://django-fluent-dashboard.readthedocs.org/en/latest/installation.html 2013/4/23 Lucas Simon Rodrigues Magalhaes > Hi, > I am using django-fluent-dashboard app instead grapelli but I got this > error, and I do not know how to solve it. > > I follow these tutorial [1] and django v

Re: Lazy QuerySet command to get lists of objects and an attribute of a specific object

2013-04-23 Thread Moon Limb
Dear Richard, Thank you for your feedback. So there are multiple stage types associated with a sample, and I plan to check a priori whether a sample has no stage types associated (whether equivalent to a user-defined null case). But for each stage type, it is not exceptional to have no stages.

Error on use django-fluent-dashboard app

2013-04-23 Thread Lucas Simon Rodrigues Magalhaes
Hi, I am using django-fluent-dashboard app instead grapelli but I got this error, and I do not know how to solve it. I follow these tutorial [1] and django version is 1.4.5 ImportError at /admin/ No module named menu Request Method: GET Request URL: http://localhost:8000/admin/ Django V

Re: Calling Jquery or javascript function based on an if condition

2013-04-23 Thread der_FeniX
{% if condition %} some_function(params); {% endif %} Sarfraz ahmad wrote at 23 апреля 2013 13:30:38: Guys, is it possible to call a javascript function in django templates based on an if condition...?? What i want to do is that in django templates

Calling Jquery or javascript function based on an if condition

2013-04-23 Thread Sarfraz ahmad
Guys, is it possible to call a javascript function in django templates based on an if condition...?? What i want to do is that in django templates if a given if condition is true i want to call a javascript function automatically tell me guys if it is possible or not

Re: Upload csv file

2013-04-23 Thread Hélio Miranda
I have a Django application that interacts with the mongodb data entry. But now he wanted to be able to insert data from a csv file upload. Someone can help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Using Django and R in a production environment?

2013-04-23 Thread Per-Olof Åstrand
I am not sure I understand your question, but is it really related to using specifically R? Could it be any kind of heavy number-crunching that needs to be done in the background by a scheduler/task manager? In that case, django-celery may be an option: http://docs.celeryproject.org/en/latest/i

Re: Sub-Query

2013-04-23 Thread der_FeniX
Just make like this: times = time_stamp.objects.all().order_by('-time_stamp')\ .values('user_id','game_id')[0] -- 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 d

Re: Need good image on the fly resizing

2013-04-23 Thread frocco
What about the cache directory? Should I clear this also? Thanks for the help. On Tuesday, April 23, 2013 12:35:48 PM UTC-4, Richard Jelte wrote: > > > I am not cropping, just re-sizing. > > > Like Kelly said, you'll have to make sure that all of the images are > cropped

Re: Upload csv file

2013-04-23 Thread Shawn Milochik
MongoDB documents are practically indistinguishable from Python dictionaries. You can use the csv module (csv.DictReader) to read in the CSV file and the pymongo library to write those dicts to Mongo. This really has nothing at all to do with Django. -- You received this message because you are

Upload csv file

2013-04-23 Thread Hélio Miranda
Hi I am having a problem which is as follows: In django want to upload a csv file, read that file and enter the data in DB MongoDB. Can anyone help me do this? I am new to django and I'm not quite see how I can do this ... thank you -- You received this message because you are subscribed to t

Re: Lazy QuerySet command to get lists of objects and an attribute of a specific object

2013-04-23 Thread Richard Jelte
> But latest() raises DoesNotExist error if sample does not have any > stages. Without using latest() and thus not > having to write try/ catch, what is a good way to do this? Default values > for the list of stages and the status are [] and None, respectively. > I understand not wanting to wr

Re: Need good image on the fly resizing

2013-04-23 Thread Richard Jelte
> I am not cropping, just re-sizing. Like Kelly said, you'll have to make sure that all of the images are cropped the same way. I just made the mistake of clearing their keystore and now no images > display.Is there a way to

Re: Need good image on the fly resizing

2013-04-23 Thread frocco
I am not cropping, just re-sizing. I just made the mistake of clearing their keystore and now no images display.Is there a way to rebuild the database? I also have tried easy-thumbnails and see no images. THUMBNAIL_ALIASES = { '': { 'tires': {'size': (150, 150), 'crop': True},

Re: I have searched and searched for a CSV Importer that does the following.

2013-04-23 Thread Shawn Milochik
On Tue, Apr 23, 2013 at 10:37 AM, Derek wrote: > > Yes, this is what I did; it is a significant amount of work to create such > a facility and I would have been glad if someone had done this already! > > Of course, linking fields to column headers is the very simple part of it > - you still need

Sub-Query

2013-04-23 Thread Nagarajan Dharmar Sitha
++-+-+-+ | id | user_id | game_id | time_stamp | ++-+-+-+ | 37 | 000u1 | 000g1 | 2013-04-08 10:35:30 | | 38 | 000u2 | 000g2 | 2013-04-08 10:35:30 | | 39 | 000u3 | 000g3 | 2013-04-08 10:35:30 | | 40

Re: Django Shopping Cart

2013-04-23 Thread Lazybird
You can have a look at django-carton, a simple shopping cart application that handles cart item in django session and lets you write you product models the way you want. -- You received this message because you are subscribed to the Google Groups "Dj

Re: e commerce django framwork

2013-04-23 Thread Lazybird
Hi, If you are looking for a simple shopping cart application, you can have a look at django-carton . It provides a basic framework for managing cart items. It lets your build the front-end part and the payment processing yourself. -- You received thi

Re: Which django-cart fork should I use?

2013-04-23 Thread Lazybird
Hi, You can try django-carton , it's a simple shopping cart Django application. The cart lives in the session and you can define your product models the way you want. There is also a discussion on stackoverflow

Re: Need good image on the fly resizing

2013-04-23 Thread Kelly Nicholes
For the problem with sorl-thumbnail not resizing to the same size as the others-- Are you cropping the image at all or just resizing? If you crop, I don't understand how the images wouldn't be all the same size. When I've used sorl, if the image is bigger than the dimensions to which I'm cro

Re: I have searched and searched for a CSV Importer that does the following.

2013-04-23 Thread Derek
Yes, this is what I did; it is a significant amount of work to create such a facility and I would have been glad if someone had done this already! Of course, linking fields to column headers is the very simple part of it - you still need to load rows of data items; validate each-and-every ite

Re: Using Html FrameSet in Django Template

2013-04-23 Thread Tom Evans
On Tue, Apr 23, 2013 at 2:59 PM, Nac Temha wrote: > Hi, > I want use frameset in template. But I am getting error. How can I use > frameset in template? > > My example: > … > > output is: > first.html, didn't match any of these. > second.html, didn't match any of these. > > Page seperated

Using Html FrameSet in Django Template

2013-04-23 Thread Nac Temha
Hi, I want use frameset in template. But I am getting error. How can I use frameset in template? My example: fisrt.html template one second.html template two main.html

django 1.5.1 + MySQL-for-Python-3 =error?

2013-04-23 Thread socket
I use django 1.5.1 with python 3.3 in ubuntu desktop system. I wanna use the mysql, I down the latest version MySQL-for-Python-3 at https://github.com/davispuh/MySQL-for-Python-3 .I use it in my python3.3 shell creating databases, showing databases, inserting tables, etc ,it works well. But whe

Re: Need good image on the fly resizing

2013-04-23 Thread frocco
Memcached did not help with the resize problem of one image. I am using sorl-thumbnail. The other images look fine and uniform. -- 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, se

Lazy QuerySet command to get lists of objects and an attribute of a specific object

2013-04-23 Thread Moon Limb
Hi all, I am trying to write a Django QuerySet command in my view.py file. *Simplified Context:* I have a *Stage* class with a Foreign Key to a *Sample* class. (Sample is a blood sample that goes through different stages, such as DNA extraction, in LIMS (laboratory information management system

Re: debugging with pycharm

2013-04-23 Thread Mark Lybrand
I hope not :( I will check template debugging tomorrow. I have already started looking at WingIDE as an alternative, but would much prefer to stick with PyCharm, since I am familiar with other JetBrain products. On Mon, Apr 22, 2013 at 9:49 PM, Ezequiel wrote: > On Monday, April 22, 2013 3:03