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
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
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
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
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
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
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
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
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
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
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
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
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):
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,
> 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.
>
>
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
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
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
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
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
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
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'
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
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
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
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
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
27 matches
Mail list logo