Re: problem with django, nginx and gunicorn

2014-05-02 Thread 'ReneMarxis' via Django users
Hello Javier also thank you for your answer. However i do know how to implement such a long running task for a customer. I generaly use celery and send out an email with a link on completition of such a task. For simple tasks i use just a cronjob. Most of those jobs run on an separeate machine

Re: problem with django, nginx and gunicorn

2014-05-01 Thread 'ReneMarxis' via Django users
Hello Erik thanks for your responce! I started reading a little bit related to GIL. I think this is the root of my problem. I'm using xhtml2pdf to generate some large pdf's (up to 200 pages). I do know i have to rewrite this code to run in background (e.g. using celery). However i want to und

problem with django, nginx and gunicorn

2014-05-01 Thread 'ReneMarxis' via Django users
Hello i have some question on deploying an django app. I'm using nginx and gunicorn to publish one django app. For gunicorn i wanted to use gevent, because there are some calls to the app, that can take up to 5 minutes to finish (generating pdfs) Firsts question is more an understanding question

Django 1.6 and get_search_results

2014-03-18 Thread ReneMarxis
Hello can someone tell me why all 'custom' the GET parameters (except the once used from admin directly like ?q or ?o) are getting removed from the request before get_search_results is called on an admin.ModelAdmin instance? i do see all the GET parameters in get_changelist but they are removed

Admin and search_fields

2014-02-27 Thread ReneMarxis
Hello does anyone know some app similar to https://pypi.python.org/pypi/django-admin-visualsearch that is able to filter over more than one related (foreign key) level? Would be great to define just some fields i'd like to search on (in admin.py), and get one input field for every search_field

Re: django images nginx and authentication

2009-10-15 Thread ReneMarxis
url > to calculate the hash. If the timestamp is not older than your > specified period and the hash matches the submitted hash the user > is allowed to download the image. > > cheers tback > > On Oct 15, 12:41 pm, ReneMarxis wrote: > > > Hello > > > i'

django images nginx and authentication

2009-10-15 Thread ReneMarxis
Hello i'm faceing the following problem: i have some application for creating image galleries (upload/change...). Till now the images are served by an nginx webserver (and are therefore open to everyone). The django app is running in apache with wsgi. My problem is i need to restrict the image d

Re: how to not saving models

2009-06-23 Thread ReneMarxis
or not (is this ok at all?), but how can i check session data. There is no request/response loop right? PS: Monkey patching... very nice this :) On 23 Jun., 13:38, Matías Costa wrote: > Monkey patch django.db.model.save > Where? in manage.py? > > On Tue, Jun 23, 2009 at 12:56 PM, Rene

Re: how to not saving models

2009-06-23 Thread ReneMarxis
what i forgot to say: Of course i don't like to change all models- code. Some 'global' solution is what i am looking for. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

how to not saving models

2009-06-23 Thread ReneMarxis
Hello i have a question if something is possible to implement :) i need some demo functionality in my django app and i'd like to realize it by having some flag in the user's session that defines if data should be saved at all or not in the whole app (for the session user). That way i could just

Re: Date and Times

2009-02-18 Thread ReneMarxis
thanks koenb i'll try that this evening. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send e

Re: Date Formating

2009-02-18 Thread ReneMarxis
Solved Please see http://groups.google.com/group/django-users/browse_thread/thread/4f19a5e0c9719f53/3ff236709a6d6578#3ff236709a6d6578 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Date and Times

2009-02-18 Thread ReneMarxis
> That was a whole 19 hours before you posted this! It's not as if it's > been a week with no answer. For a question like this, where even > understanding the problem requires wading through 40 lines of code, it > might well take a while before somebody has time and motivation to get > there. > >

Re: Date and Times

2009-02-18 Thread ReneMarxis
Would you say i am right? I would past this on http://code.djangoproject.com/ticket/3672 where i got the original code from --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Date and Times

2009-02-18 Thread ReneMarxis
Ok got this fixed. The problem comes if you enter invalid data. return dateformat.format(value, self.format) would throw an exception and the form would render to "" class DateFormattedTextInput(FormattedTextInput): "Renders formatted date." def __init__(self, format=None, attrs=None):

Re: Date and Times

2009-02-17 Thread ReneMarxis
What i basicly need: Have one imput format and the same output format for modeled and nonmodeld forms and all other functionalities should be present as default (e.g. is.valid()) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Date and Times

2009-02-17 Thread ReneMarxis
Very sorry to bug you againe, but this is getting very critical Please can someone tell me how to format output of one DateField in a way that form.is_valid() is not breaking? I allready posted this question some time before under http://groups.google.com/group/django-users/browse_thread/th

Date Formating

2009-02-16 Thread ReneMarxis
Hello i am having some problems getting date-formating running ... here is some code-snippet i use in my app http://dpaste.com/121354/ The form shows up ok. If i enter valid data everything is ok. But if i enter invalid data or none the form will be empty. There is no validation error showing u

designing search functionality

2008-12-11 Thread ReneMarxis
Hi I have one question reguarding design of an app. I have one model that has about 10 fields and 3 relations (foreign key) and i need to make one "Add new" and "Edit" form of it. My question reguards those relations in the model. How would you realize a search functionality for those related mod

Re: DateTimeField and input_formats

2008-12-04 Thread ReneMarxis
fixed ... i had to pass in a tupel ... not a string. and as far as i saw the field does not format the data automaticly. you have to pass it in as a formated string. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

DateTimeField and input_formats

2008-12-04 Thread ReneMarxis
Hi i have some basic question on datetime formating. I have one form and view as defined under http://dpaste.com/96096/ Just to get it right: shouldn't the form format the dates while rendering automaticly and show them formated according to the input_formats? The form does not for me. Also the

different database access

2008-12-01 Thread ReneMarxis
hi i am new to django and evaluating if i could use it for one new application. I did some mal app with django last days and i am impressed :) however i need some infomation from expirienced developers. 1) Is it possible to connect to more than one database, and beeing able to use the model-fun

Re: django documentation

2008-11-25 Thread ReneMarxis
http://djangoapi.quamquam.org/trunk/ _thanks On 25 Nov., 01:38, Brian Neal <[EMAIL PROTECTED]> wrote: > On Nov 24, 5:18 pm, ReneMarxis <[EMAIL PROTECTED]> wrote: > > > hi > > > as mentioned earlyer today i am very new to django and againe have > > some que

django documentation

2008-11-24 Thread ReneMarxis
hi as mentioned earlyer today i am very new to django and againe have some question, this time reguarding the documentation. I started django by duing the tutorial, and now i started building my own little project from ground up :) but i am lacking of information. I am missing some documentation

pydev error

2008-11-24 Thread ReneMarxis
Hello i am having some "problems" and question with pydev (+extentions) and django. Since some hours (hmmm) eclipse points out an error, saying User.DoesNotExist is not defined, although i have included django.contrib.auth.modes.User I can run the code (in debugger) and django does not throw a

Re: building components

2008-11-19 Thread ReneMarxis
Thanks Rajesh i think i found the documentation therefore... Starting with inclusion tags now :) I'm pretty sure there will be more such basic questions and hope i can ask them (and also get an answer) _tia On 19 Nov., 16:05, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > > I'd like to build one c

building components

2008-11-19 Thread ReneMarxis
Hello i just started over 2 days ago with python and django (although i have some expirience in WebObejcts and Tomcat/JSP). I did the tutorial and started building my first "app" :) and came to my first "bigger" problem (perhaps understanding problem). I'd like to build one component "Login" or