One word: Amen.
--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED
I was thinking that runfscgi is smth like runserver :D now I understand
my mistake. Thanx :)
--~--~-~--~~~---~--~~
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@go
On Thu, 2006-08-03 at 23:42 -0500, Adrian Holovaty wrote:
> On 8/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> > The traditional approach is that they are password entry boxes that are
> > empty and you only pay attention in the form processing if they contain
> > something (in which case
On 04/08/2006, at 3:37 PM, Malcolm Tredinnick wrote:On Fri, 2006-08-04 at 15:13 +1000, Ian Holsman wrote:[...] I like the idea of a change password view, could I twist your arm a bit and make it a 'generate random passwordand email it to the user view' instead of 'set password' ?and possibly have
On Fri, 2006-08-04 at 15:13 +1000, Ian Holsman wrote:
[...]
> I like the idea of a change password view,
> could I twist your arm a bit and make it a 'generate random password
> and email it to the user view' instead of 'set password' ?
> and possibly have the email point the user to a view to
On 04/08/2006, at 2:42 PM, Adrian Holovaty wrote:On 8/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: The traditional approach is that they are password entry boxes that areempty and you only pay attention in the form processing if they containsomething (in which case the two entries must match
On 8/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> The traditional approach is that they are password entry boxes that are
> empty and you only pay attention in the form processing if they contain
> something (in which case the two entries must match, etc). I would have
> though that worke
On 04-Aug-06, at 9:54 AM, Adrian Holovaty wrote:
> In revision 3520, I checked in a fix to a longstanding problem (ticket
> #61) -- having to enter password hashes when creating users via the
> Django admin site. The "Add user" page now lets you put in the
> username and raw password, via two HT
On Thu, 2006-08-03 at 23:24 -0500, Adrian Holovaty wrote:
> In revision 3520, I checked in a fix to a longstanding problem (ticket
> #61) -- having to enter password hashes when creating users via the
> Django admin site. The "Add user" page now lets you put in the
> username and raw password, via
On 8/3/06, bernie2004 <[EMAIL PROTECTED]> wrote:
> File "... /django/views/debug.py", line 18, in
> get_template_exception_info
> origin, (start, end) = exc_value.source
>
> ValueError: too many values to unpack
Hmmm...I've never used Kid with Django, but, as a shot in the dark,
I'd suggest
In revision 3520, I checked in a fix to a longstanding problem (ticket
#61) -- having to enter password hashes when creating users via the
Django admin site. The "Add user" page now lets you put in the
username and raw password, via two HTML "input type=password" fields.
The code is also a pretty
Hello All,
For those interested here is an AJAX based demo application using
django, developed with two different javascript libraries: Prototype
and with MochiKit
http://www.personal.psu.edu/iua1/ajax-django-sandbox.htm
cheers,
Istvan
--~--~-~--~~~---~--~~
Yo
Malcolm Tredinnick wrote:
> On Thu, 2006-08-03 at 13:25 -0700, Rob Hudson wrote:
> > If anyone is still following along
>
> I am. Not a Mac or Windows user, but you're solving an interesting
> problem. The end result is going to be useful. Thanks for sharing this
> information.
Thanks for the sup
On 8/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> What you want is to pass in a callable for the default value (not the
> result of calling the callable, which is what you are doing now). See
> http://www.djangoproject.com/documentation/models/field_defaults/ for an
> example.
Callable d
On Fri, 2006-08-04 at 02:51 +, Hale wrote:
> Hey all,
>
> I've got version 0.95 installed and it all works fine from the built in
> webserver on my FC5 machine. Works awesome. But when I move to
> running it behind modpython on Fedora5's apache, the admin stops
> working - more accurately I
Does anybody got a clue about this one? I just wanted to give Kid
templates a try but got stuck pretty fast:
Traceback (most recent call last):
File "... /django/core/servers/basehttp.py", line 272, in run
self.result = application(self.environ, self.start_response)
File "... /django/core
Hey all,
I've got version 0.95 installed and it all works fine from the built in
webserver on my FC5 machine. Works awesome. But when I move to
running it behind modpython on Fedora5's apache, the admin stops
working - more accurately I get a blank screen. Nothing. Not an error
from the brows
Yip, I tried that Jay, the result was:
[EMAIL PROTECTED]:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/kimizu/django_src/dja:/home/kimizu/django_src/django/bin
My initial feeling about this was the that the django-admin.py wasn't
found due to the directory structure wi
> I think your best bet is to override the save() method of your model.
This worked perfectly. It didn't even occur to me that I could do that.
Thanks so much for the suggestion.
- Dave Worley
--~--~-~--~~~---~--~~
You received this message because you are subsc
This should get you started. The following styles override your styles
(i.e. you can just paste them at the bottom of your CSS file.)
#allcontent {
width: 780px;
}
#header {
margin: 10px 0;
}
#main {
float: left;
width: 545px;
margin: 0 0 10px 0;
}
#sidebar {
float: right;
width: 170px;
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Im using Putty on a windows machine yep. Following Jeff's tutorial my
> paths are all wrong now, as myproject in now in the 'bin' directory.
>
Did you try doing:
echo $PATH
Jay P.
--~--~-~--~~~---~--~~
Error message,
mv: cannot stat `dja': No such file or directory.
I think I'll just delete everything and start over again
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
> From the command prompt, type:
>
> echo $PATH
>
> and let us know what it says.
>
> Jay P.
After logging into Putty, if I type echo $PATH I get:
[EMAIL PROTECTED]:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/kimizu/django_src/dja:/home/kimizu/django_src/django/bin
Im using Putty on a windows machine yep. Following Jeff's tutorial my
paths are all wrong now, as myproject in now in the 'bin' directory.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
Go into your django_src directory, then:
mv dja ../django_projects
--~--~-~--~~~---~--~~
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 unsubscr
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> SmilyChris, you've made me SmilySimon, thanks a million! For anyone
> else out there, just navigate to the directory django-admin.py is in
> e.g.
>
> cd\django_src\django\bin
>
> then type
> python django-admin.py startproject myproject
>
[EMAIL PROTECTED] wrote:
> I considered this before, but with the configuration of the lan of my
> client if I try to access the public IP from a machine of the lan I get
> the router's configuration web page. And they don't allow me to
> reconfigure this.
In which case, I think you should be ab
On 8/3/06, Dave <[EMAIL PROTECTED]> wrote:
>
> I'm creating an application for a client in which the Admin has a
> "customer" model. The admin area was easy to set up, and everything's
> working just swell under Apache 2.
>
> The challenge I'm facing, however, is that when the Admin (admin here
>
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply Julio, yes I've tried "source ~.bash_profile"
> before typing "django-admin.py startproject myproject" but still the
> prompt says "command not found".
>From the command prompt, type:
echo $PATH
and let us know wh
SmilyChris, you've made me SmilySimon, thanks a million! For anyone
else out there, just navigate to the directory django-admin.py is in
e.g.
cd\django_src\django\bin
then type
python django-admin.py startproject myproject
--~--~-~--~~~---~--~~
You received this
On 8/4/06, Ian Clelland <[EMAIL PROTECTED]> wrote:
>
> On 8/3/06, cyberco <[EMAIL PROTECTED]> wrote:
> >
> > OK, but what to do with the following in case of 2 models:
> >
>
> In the past, I've made a custom manipulator in situations like this.
> Something like this (WARNING: Untested code ahead!)
This is only tangentially related to Django...
As a volunteer project, I'm doing up a website for my local resident's
organization, using Django of course.
I do my development on a Powerbook, and constantly check that
everything looks ok with Firefox and Safari. So today I asked a friend
to chec
On 8/4/06, skullvulture <[EMAIL PROTECTED]> wrote:
>
> Is there anyway to declare variables within a template? I'm coming
> from a Zope background where with dtml you have the dtml-let tag and
> with ZPT you have tal:define. Django's templating seems so much cooler
> than Zope's, but I'm missing
On Thu, 2006-08-03 at 13:55 -0700, Gacha wrote:
> I tryed to run "python manage.py runfcgi method=threaded
> host=195.13 port=7778 daemonize=false" in my project dir. The
> command executed, but nothing happened. I opened my site in browser and
> it was loading and loading an loading, but it d
I believe there are articles on blogs and wiki posts about extending
the user model.
The basic idea as of right now (as far as I know), before model
inheritance is committed, is to connect the two using a foreign key.
If you want to create a user and relate it to the customer object, best
spot m
Hi Gabriel.
All the clients are windows machines and I don't know how to set the
equivalent of /etc/hosts in a Windows box.
But anyway if I invent a domain name I will have the same problem but
with the public IP in this case.
Can I disable the mechanism that checks the domain names of the cook
On Thu, 2006-08-03 at 13:25 -0700, Rob Hudson wrote:
> If anyone is still following along
I am. Not a Mac or Windows user, but you're solving an interesting
problem. The end result is going to be useful. Thanks for sharing this
information.
> I got past the last error by
> specifically adding "
Thanks for your reply Julio, yes I've tried "source ~.bash_profile"
before typing "django-admin.py startproject myproject" but still the
prompt says "command not found".
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
I would avoid the Wiki tutorial completely and use Jeff Croft's guide:
http://www2.jeffcroft.com/2006/may/11/django-dreamhost/
I've setup a couple sites flawlessly using his tutorial.
Jay P.
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm working my way through the tutorial on Dreamhost's wiki
> (http://wiki.dreamhost.com/index.php/Django) and came upon a problem,
> namely the django-admin.py: command not found prompt.
>
Did you run "source ~/.bash_profile"? If yes
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> I have another loop above that displays upcoming shows. Is it possible
> to have two object lists, one of upcoming and one of past shows be
> passed to the template?
A view can pass any number of variables it wants to, with any legal
Python va
Hi Simon,
Try this instead:
python django-admin.py
If you want any specific help with Dreamhost setup, you can try
contacting me via gtalk and I'll have a chat with you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
I'm creating an application for a client in which the Admin has a
"customer" model. The admin area was easy to set up, and everything's
working just swell under Apache 2.
The challenge I'm facing, however, is that when the Admin (admin here
meaning a person using the Admin interface) creates a Cu
Thanks Jay, I've actually tried to set up Django twice, once using
Jeff's guide and another time using the wiki, but on both occasions the
same problem occured.
Jay Parlar wrote:
> I would avoid the Wiki tutorial completely and use Jeff Croft's guide:
> http://www2.jeffcroft.com/2006/may/11/djang
On Aug 3, 2006, at 2:45 PM, skullvulture wrote:
> I have another loop above that displays upcoming shows. Is it
> possible
> to have two object lists, one of upcoming and one of past shows be
> passed to the template?
Yes, you can pass any sort of data that you want to your template.
So, if
I considered this before, but with the configuration of the lan of my
client if I try to access the public IP from a machine of the lan I get
the router's configuration web page. And they don't allow me to
reconfigure this.
It's important to get the site from both sides because they will use
the
I'm working my way through the tutorial on Dreamhost's wiki
(http://wiki.dreamhost.com/index.php/Django) and came upon a problem,
namely the django-admin.py: command not found prompt.
I understand that the paths within the .bash_profile file within the
root directory must point towards the djang
On 8/3/06, richard mendes <[EMAIL PROTECTED]> wrote:
> as to the recommendation from Adrian i tried to install the newest
> version but i got an error that said it was missing something and i
> had to install a older version. I will try to install it in a later
> stadium.
Hi Richard,
Would you m
Don,
I have another loop above that displays upcoming shows. Is it possible
to have two object lists, one of upcoming and one of past shows be
passed to the template?
Thanks
Adrian,
I understand your philosophy of separating presentation and logic, but
even in your there you say that the tem
Is anybody else having this problem?
--~--~-~--~~~---~--~~
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 emai
On Aug 3, 2006, at 1:05 PM, skullvulture wrote:
>
> Is there anyway to declare variables within a template? I'm coming
> from a Zope background where with dtml you have the dtml-let tag and
> with ZPT you have tal:define. Django's templating seems so much
> cooler
> than Zope's, but I'm missin
On 8/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> * If you're not using any of the objects with is_past_show == False,
> then change your view so that object_list is only the objects with
> is_past_show==True. Then you can do this:
Assuming the use of the object_list generic view, this is p
Steven,
Thank's for the advice,that did the trick.
as to the recommendation from Adrian i tried to install the newest
version but i got an error that said it was missing something and i
had to install a older version. I will try to install it in a later
stadium.
Richard
--~--~-~--~
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> Is there anyway to declare variables within a template? I'm coming
> from a Zope background where with dtml you have the dtml-let tag and
> with ZPT you have tal:define. Django's templating seems so much cooler
> than Zope's, but I'm missing a
FWIW given my complete newbie perspective, I have a couple of reactions.First, it is clear that the answer to my question that started this meandering thread is a resounding no. I sort of expected that would be the case, but I just wanted to be sure.
Second, there's only an advantage to adopting a
If anyone is still following along I got past the last error by
specifically adding "django.db.backends.sqlite3.base" to my list of
includes. This got me a little further. The server will successfully
start up and I can make a request. I got a traceback in the browser
about django.middleware.co
I tryed to run "python manage.py runfcgi method=threaded
host=195.13 port=7778 daemonize=false" in my project dir. The
command executed, but nothing happened. I opened my site in browser and
it was loading and loading an loading, but it didn;t get any response
from django. What I'm doing wrong
Adrian Holovaty wrote:
> Are you sure you added
> 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' to
> your MIDDLEWARE_CLASSES setting? That's the part that actually
> *serves* the flatpages.
Thanks for the reply Adrian. Yes, I did add this. I was using
mod_python and Apache2.
Thank god i found this post!
Lorenzo
--~--~-~--~~~---~--~~
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 ema
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> Is there anyway to declare variables within a template? I'm coming
> from a Zope background where with dtml you have the dtml-let tag and
> with ZPT you have tal:define. Django's templating seems so much cooler
> than Zope's, but I'm missing a
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
Hi skullvulture,
To access methods of
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/db/__init__.py",
> line 23, in ?
Hi Richard,
This doesn't answer your question, but I'd strongly recommend that you
use Django
Thanks, I was putting in the parenthesis.
--~--~-~--~~~---~--~~
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, sen
Is there anyway to declare variables within a template? I'm coming
from a Zope background where with dtml you have the dtml-let tag and
with ZPT you have tal:define. Django's templating seems so much cooler
than Zope's, but I'm missing a declare or define tag.
The idea I want to be able to do i
On 08/03/06 21:01, skullvulture wrote:
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
>
Something like this should work:
{% if object.
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
Since it's a property of the object, h
On 08/03/06 20:50, [EMAIL PROTECTED] wrote:
> Hello Django Users,
>
> I'm trying to install Django on a mac os x (10.3) but i'm experiencing
> some problems i can't solve.
> When i run import django in mu interpreter it's working fine but when i
> start the server i get the following error messag
On 8/3/06, Ian Clelland <[EMAIL PROTECTED]> wrote:
> On 8/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> >
> > We should definitely solve this problem in a nicer way. What do you
> > think? An __appname__ variable in the app's __init__.py file?
>
> Or possibly a __verbose_name__ variable, to u
On 8/3/06, cyberco <[EMAIL PROTECTED]> wrote:
>
> OK, but what to do with the following in case of 2 models:
>
In the past, I've made a custom manipulator in situations like this.
Something like this (WARNING: Untested code ahead!) might work for
you:
class CustomManipulator(forms.manipulator):
I´ve been thinking about the __init__.py-file also.
doesn´t seem very continuous to do it there though. on the other
hand, I couldn´t think of any better solution ...
should I open a ticket for this one?
thanks,
patrick
Am 03.08.2006 um 20:02 schrieb Adrian Holovaty:
>
> On 8/3/06, patrickk <
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
>
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
You don't need to write any more com
In the tutorial you create a custom method was_published_today. How
can you access it in the template? I'm using generic views. Do I have
to write my own more complicated view to access it? Thanks.
--~--~-~--~~~---~--~~
You received this message because you ar
On 8/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> We should definitely solve this problem in a nicer way. What do you
> think? An __appname__ variable in the app's __init__.py file?
Or possibly a __verbose_name__ variable, to use the same terminology
that we already use for models and fie
Hello Django Users,
I'm trying to install Django on a mac os x (10.3) but i'm experiencing
some problems i can't solve.
When i run import django in mu interpreter it's working fine but when i
start the server i get the following error message.
Unhandled exception in thread started by
Traceback
On 8/3/06, patrickk <[EMAIL PROTECTED]> wrote:
> isn´t there any workaround?
> renaming my app solves the problem ... but then I have to mix german
> and english in my code.
> moreover, considering internationalization I don´t think it´s good
> practice to have german app-names.
I agree that it's
isn´t there any workaround?
renaming my app solves the problem ... but then I have to mix german
and english in my code.
moreover, considering internationalization I don´t think it´s good
practice to have german app-names.
Am 03.08.2006 um 19:17 schrieb Adrian Holovaty:
>
> On 8/3/06, va:pat
On 8/3/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote:
> the language-code for my site is german, but the app-names and the
> models are english.
> in the admin-interface, it´s no problem to have german names for the
> tables. but how can I change the names of my installed apps?
Hi Patric
there is no problems in using scripts like:
http://www.dynamicdrive.com/dynamicindex17/indexb.html
In Django,TG,Pylons,Web.py,Whatever Framework :) No widgets required.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On 08/03/06 11:23, patrickk wrote:
[...]
>
> Good idea. However, with using the change-list for reordering you
> have to load all the dojo-stuff - even if you don´t want to reorder
> anything.
> Since loading Dojo is quite slow (at least in my experience) I´m not
> sure about this.
>
If y
Hi!
I'm building a day-based navigation for my blog posts. I'm using generic
view (month_archive) object_list to get all post for a specific month.
How can I get unique days in my template loop on object_list if I have
multiple posts per day? Is there a way to do it "generically", or do I
nee
the language-code for my site is german, but the app-names and the
models are english.
in the admin-interface, it´s no problem to have german names for the
tables. but how can I change the names of my installed apps?
thanks,
patrick
--~--~-~--~~~---~--~~
You re
On 8/3/06, Don Arbow <[EMAIL PROTECTED]> wrote:
> Check out this comparison of the six most "popular" (Dojo,
> Zimbra,Yahoo, Microsoft, Google, and Prototype), each has its own
> strengths and weaknesses:
Ehhh... I normally don't pimp my blog in here, but I don't think
that's the best review to g
OK, but what to do with the following in case of 2 models:
===
new_data = request.POST.copy()
errors = manipulator.get_validation_errors(new_data)
if not errors:
manipulator.do_html2python(new_data)
==
The complete method is:
===
def new(request):
manipulato
On 8/3/06, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> - what would we gain by having an 'official' javascript library?
Honestly? I think the only thing we gain is an end to people asking
"which JS library is the 'official' one for Django?" ;)
> so, is there something that django could do to make
On 8/3/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
> I just came across this presentation:
> http://domscripting.com/presentations/xtech2006/
> which describes a new layer/methodolgy on how ajax should be implemented.
It's not really "new"; Jeremy's been advocating that, and smart people
have been
On 8/2/06, Edmund <[EMAIL PROTECTED]> wrote:
> Newbie question here... I installed Flatpages as per the docs. Then, I
> created a flatpage via the admin interface, and also checked that the
> SITE_IDs shown matched that in my settings.py.
>
> But, I get a 404. On tracing through the 404, I see tha
On 7/28/06, Seth Buntin <[EMAIL PROTECTED]> wrote:
> I have a model class that returns the string as below:
>
> def __str__(self):
> return "%s %s" % (self.program, self.course_number)
>
> In the list_display I have:
> list_display = ('__str__', 'uploaded')
>
> I want to be able to order b
On 7/29/06, jws <[EMAIL PROTECTED]> wrote:
> Is it currently possible to create filters in the admin interface that
> limit the displayed itemsby a criteria applied to a datefield?
It's not possible at the moment to create custom filters, but this is
on the to-do list for the (figurative) ver
[EMAIL PROTECTED] wrote:
> As we haven't a domain name I set the SESSION_COOKIE_DOMAIN to the
> public IP of the site. Well this works great from Internet, but when I
> try to access the admin site from the lan of my client I couldn't log
> in. If I change the SESSION_COOKIE_DOMAIN it works into
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm here again:
>
> I'm a novice with web developing and when I began to read django
> documentation
> I understood that that wasn't matter with the name you put to the
> SESSION_COOKIE_DOMAIN and if it has dots in it it will not have
Adam Endicott wrote:
>
> Do any of the core devs see this as a candidate for inclusion in
> contrib?
Speaking as the author of the piece -- I don't. This code isn't
developed enough to be particularly practical as-is: to be more useful
it should probably support both natural language and boolean
Malcolm Tredinnick wrote:
> The reason you are getting the same values all the time is because the
> random.randint(1,1000) and time.time() calls are being evaluated when
> the CharFiueld instance is created, which is at your model *class*
> creation time (i.e. import time, essentially). Not when
On 8/3/06, cyberco <[EMAIL PROTECTED]> wrote:
>
> Yes, but I want only one 'submit' button on the html page. This means
> that the POST data goes to one 'view' method. How can I first create an
> instance of A and then an instance of B (with A's id) with the same
> POST data?
>
>
You can put two m
Yes, but I want only one 'submit' button on the html page. This means
that the POST data goes to one 'view' method. How can I first create an
instance of A and then an instance of B (with A's id) with the same
POST data?
--~--~-~--~~~---~--~~
You received this mes
I just came across this presentation: http://domscripting.com/presentations/xtech2006/which describes a new layer/methodolgy on how ajax should be implemented.I personally would think implementing something like this would be a step forwardand we could then argue about if mochikit or dojo or yui or
thanks arthur, some additional notes below ...
Am 03.08.2006 um 02:42 schrieb arthur debert:
>
> Hi Patrick.
>
> I've been planing to implement this, but haven't found the time to. I
> know code speaks louder than words... but I've done some thought over
> this and would like to share my opinion
first, a usecase: say you have a website with lots of movies. then
you have a table for "filmstarts of this week" - on the website the
filmstarts are ordered by a column "position".
basically, it´s for every table you want to order manually (not using
"date" or whatever).
Am 03.08.2006 um 0
Hi, I'm here again:
I'm a novice with web developing and when I began to read django
documentation
I understood that that wasn't matter with the name you put to the
SESSION_COOKIE_DOMAIN and if it has dots in it it will not have
problems with firefox.
I'm finishing a project made with django but
On 2 Aug 2006, at 21:17, Mikeal Rogers wrote:
In nearly every POST i get the data needs to be broken up and either
modify or create more than one model.
I was hoping to still be able to use the model manipulators for this
but all the documentation seems to be very single form/post == single
mod
James Bennett wrote:
> On 8/2/06, gabor <[EMAIL PROTECTED]> wrote:
>> django does not force you to use the django-templating-system (you can
>> use myghty/zope-tal/whatever instead), but it clearly recommends the
>> django-templating-system, and that's the system which is the most
>> tested/stream
1 - 100 of 119 matches
Mail list logo