Pirates Of Silicon Valley entire movie

2007-04-20 Thread foto
Pirates Of Silicon Valley entire movie http://www.teenwag.com/showvideo/4294 --~--~-~--~~~---~--~~ 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 T

Re: Atom feed not working

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 07:57 -0700, Grupo Django wrote: > Don't worry! If you are one of the developers, I only have to say > thank you for the excelent job. I really like django. > Just a question: > When will it be available in the trunk? It was there before I posted my reply. I committed it in

Re: Subclasses or OneToOne relationship

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 20:00 +, Jamie Pittock wrote: > Hi all, > > I'm currently planning my first Django application and after a quick > search of groups I need a model structure very similar to that mention > in this thread: > > http://groups.google.com/group/django-users/browse_thread/thre

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 22:26 +0100, Oliver Charles wrote: > Just write your own view that in turn calls a generic view? Create a new > view, with a similiar signiture, but change the object_id for team_id > AND result_id. Then, do a bit of logic to find the query set you need a > view of, and pa

Re: audit trail support

2007-04-20 Thread Malcolm Tredinnick
Hi Jason, On Fri, 2007-04-20 at 13:30 -0400, Jason McVetta wrote: > I need to add real audit trail and change-notification support to an > existing Django app and to one that is under development. The best > way to do this, it seems to me, is to add audit support to the Django > framework itself

Re: error separating apps from projects

2007-04-20 Thread Michael Trier
I recently did something similar but what I ended up doing was creating a symbolic link to a path that was already in my sys.path location. For me since I have site-packages/django I just created a site-packages/djangoapps subdirectory and then reference each application with djangoapps.registrat

Do you want money? For each $1 invested you will gain $5.

2007-04-20 Thread GPcapital
Cannot you believe? Just believe this is not a joke or a trap. It is only upon you and your considerations how much you want to invest and how big profit you want to earn. http://www.gpcapitalgroup.com Is your chance!!! Go and read more... GP Capital Group Investment into your future Try it!!!

Re: Setting up fixture on model with ForeignKey

2007-04-20 Thread Russell Keith-Magee
On 4/21/07, James <[EMAIL PROTECTED]> wrote: > > Hi, > > "datasource = models.ForeignKey(DataSource)" > > I tried changing the fixture line to "datasource": "1", but this > results in the stack trace below. Does anyone know how to set up this > fixture properly? Pretty close; what you're looking

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Karen Tracey
On 4/20/07, DuncanM <[EMAIL PROTECTED]> wrote: > > (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', > 'django.views.generic.list_detail.object_detail', dict(results_dict, > template_name='teams/team_results_reports.html') > > doesn't work for me... Uh, yeah, it wouldn't would it? Sorry, about that.

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Jeremy Dunck
On 4/20/07, DuncanM <[EMAIL PROTECTED]> wrote: > > Hi Karen, > > (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', > 'django.views.generic.list_detail.object_detail', dict(results_dict, > template_name='teams/team_results_reports.html') FWIW, django views are pretty simple to do yourself, and you can st

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Hi Karen, (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', 'django.views.generic.list_detail.object_detail', dict(results_dict, template_name='teams/team_results_reports.html') doesn't work for me, but I've been thinking about your post, and you were right about me wanting to leave breadcrumbs (why co

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Karen Tracey
Do you really need the team_id to specify the result you are looking for? I'm guessing you probably have a single results table (with results from all teams), and the 2nd number in the url is all you need to select the result in question. Then: (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', 'django.v

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Oliver Charles
Just write your own view that in turn calls a generic view? Create a new view, with a similiar signiture, but change the object_id for team_id AND result_id. Then, do a bit of logic to find the query set you need a view of, and pass this through to a generic view, and then return this. Hope th

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Thanks for the help Tim, however I've tried that and it doesn't work : ( Is there any other way you could think of achieving it, even if it doesn't use generic views and urls? Thanks, Duncan --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Tim Chase
> (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', > 'django.views.generic.list_detail.object_detail', dict(results_dict, > template_name='teams/team_results_reports.html')), > > the bottom Url is totally wrong I just had a stab in the dark (a > rather poor one at that) but it was attempting to il

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Firstly: there are many teams, each team can have many results. so obviously you'd need an id for the result id as well not just team/ 1/results/detail. Sorry it was a bad example in the previous post, it could be team/3/ results/5/ or team/10/results/522 (i.e. the team and results numbers aren

Re: audit trail support

2007-04-20 Thread [EMAIL PROTECTED]
Thank you for the advice, David -- you make a good point. How would you track which Django user made which change? Perhaps I could subclass models.Model so save() always fills an (uneditable) field 'updated_by' with the current user. Likewise, we could have an (editable) field "reason_for_chang

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Jeremy Dunck
On 4/20/07, DuncanM <[EMAIL PROTECTED]> wrote: > I'm stuck when trying to do: > team//results/ > which I'd like to return a page that gives the detail of a result. Sorry, this isn't clear to me. You're saying something like team/1/results/1/? If so, why repeat the 1? Why not team/1/results/deta

Re: Django Schema Migration

2007-04-20 Thread David Marko
GREAT WORK! Migrations are being discussed for years and now we have some real-life solution. And I must say - it works and helps. Now we should get rid of SQL, we need some nice DSL syntax. David --~--~-~--~~~---~--~~ You received this message because you are s

Re: Django Schema Migration

2007-04-20 Thread Mike H
Hi again, The docs have been updated with the points you raised. Cheers! Mike On 4/20/2007, "Mike H" <[EMAIL PROTECTED]> wrote: > > >Ah, yes, the docs aren't clear on this at the moment, but the automatic >schema creation does not run if you use migrations for an application. >You will have

Re: check if a list contains a single item in a template

2007-04-20 Thread drackett
Thanks! always getting overwhelmed and overlooking things in the documentation ;) On Apr 20, 2:51 pm, "Julio Nobrega" <[EMAIL PROTECTED]> wrote: > {% if list|length_is:"1" %} > Only one! > {% endif %} > > http://www.djangoproject.com/documentation/templates/#length-is > > There's also: > > {

Subclasses or OneToOne relationship

2007-04-20 Thread Jamie Pittock
Hi all, I'm currently planning my first Django application and after a quick search of groups I need a model structure very similar to that mention in this thread: http://groups.google.com/group/django-users/browse_thread/thread/48359c4c0faa797a Basically I need models for Restaurant, Bar, Hote

Re: Ordered list of objects?

2007-04-20 Thread [EMAIL PROTECTED]
I don't know if this is the "right" solution or not. In my home grown framework I've got a doubly linked list implementation. My intention in Django is to write an application Ordered_List that would be a functioning doubly linked list with minimal data fields (currently just a name for each list

Re: Preventing saving of objects in admin: how to send message back to the user?

2007-04-20 Thread RajeshD
> > def save(self): > # code to determine if image is RGB or CMYK > if isRGB is True: > super(Photo, self).save() > else: > return > > Is there a way to tell the user that their photo was rejected because > it was in CMYK? Should I be returning something in particular

Re: Django Schema Migration

2007-04-20 Thread Mike H
Ah, yes, the docs aren't clear on this at the moment, but the automatic schema creation does not run if you use migrations for an application. You will have to create a migration that creates the tables. (Just use 'python manage.py sqlall' to get the sql for the migration) The reason for this is

Re: check if a list contains a single item in a template

2007-04-20 Thread Julio Nobrega
{% if list|length_is:"1" %} Only one! {% endif %} http://www.djangoproject.com/documentation/templates/#length-is There's also: {% ifequal list|length "2" %} Two here! {% endifequal %} http://www.djangoproject.com/documentation/templates/#length On 4/20/07, drackett <[EMAIL PROTECTED]>

Re: Django Schema Migration

2007-04-20 Thread David Marko
Thanks for an advice. I found problem with migrations when running tests - python manage.py test . It seems that migration is run before django creates table based on model. Tests should probably not run migratons at all. --~--~-~--~~~---~--~~ You received this me

check if a list contains a single item in a template

2007-04-20 Thread drackett
Is there an easy way in djangos tempaltes to do any sort of counting? I want to check if a list of objects only has a single object, and if so display something. I could also see this being helpful for any number of things using differnt count values. Is this possible? --~--~-~--~~--

Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Hi, I have looked at the django docs and couldn't find anything exactly related to what I want to do. I have my urls set up currently so: team/ returns a page for that team team//results returns a results page for that team I'm stuck when trying to do: team//results/ which I'd like to return

Re: Django Schema Migration

2007-04-20 Thread Mike H
Ah, thanks for the heads up! Unfortunately, syncdb will install the latest SQL for all installed applications (as far as I am aware). Is there a way just to install the schema for a specific application? I guess I could call sqlall and run each supplied statement, but that's pretty much just rei

Re: Django Schema Migration

2007-04-20 Thread Mike H
Hi David, The python functionality is there so that you can manipulate the models directly or run more complex dynamic sql if you need to. Let's say that your app is called "myapp" and you want to do something special to all User records with an aol email address, but that something special is

Re: __str__ referencing variables in other classes

2007-04-20 Thread Brian Luft
Yes, due to the many-to-many, the "member" property is going to represented as a set of objects. Your __str__ definition as you have it doesn't really make sense since it is in fact a set of objects. Try something like: def __str__(self): return '%s: ' % self.title + ','.join( [ '%s %s' % (m

Re: Django Schema Migration

2007-04-20 Thread David Marko
How can 'Python migrations' be used? Can someone explain or place some example? Where should I put the function? --- excerpt from docs --- Using Python migrations Sometimes it might be easier to do your migration using Python and the Django models. To define a python migration, simply define a fu

Re: __str__ referencing variables in other classes

2007-04-20 Thread RajeshD
Hi Jason and Paul On Apr 20, 2:52 pm, Paul Childs <[EMAIL PROTECTED]> wrote: > Hey Jason > > Try: > return self.title + self.member.first_name + self.member.last_name That's still not going to work since member is a many-to-many field -- self.member really references a collection of values not a

Re: audit trail support

2007-04-20 Thread drourke
I would (and do) implement audit trails right in the database itself using the trigger and procedure language that your database provides. In this manner, any front-end application writing to the database will have the audit-trail by default, without need for front-end application support. In ot

Re: __str__ referencing variables in other classes

2007-04-20 Thread Paul Childs
Hey Jason Try: return self.title + self.member.first_name + self.member.last_name instead of: return self.title + member.first_name + member.last_name I think that might be the problem. Cheers, /Paul --~--~-~--~~~---~--~~ You received this message because you

Re: moving apps into a subfolder?

2007-04-20 Thread drourke
Your sub-folder, in your case 'apps', needs to be a python module. Simply copy (not move) the file '__init__.py from your project directory into your apps directory. In this manner, apps.blog will be found. __init__.py is an empty file by default. On Apr 20, 9:51 am, drackett <[EMAIL PROTECTED

Re: Django Schema Migration

2007-04-20 Thread Mike H
Actually, those ramblings might not be relevant just yet... I made a simple patch to syncdb to see if an application has a migrations module or not. If it does, it will run it. If not, it will do its automated thing. Seems to work quite well at the moment and let me get rid of about a third of t

how to connect Django to objects served over xml-rpc?

2007-04-20 Thread brandon . craig . rhodes
I want to try out Django for a small project, hoping to discover that it will be the web framework of my dreams, but I need some advice. My project group has written an xml-rpc API in front of our database and password stores. This means that when we want to, say, create a campus guest account,

Re: Setting up fixture on model with ForeignKey [IGNORE]

2007-04-20 Thread James
Never mind. Forgot to reference the fixture in my test. jh On Apr 20, 10:28 am, James <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having some trouble setting up a fixture for a model (Dataset) > that has a many-to-one relation with another model, DataSource. My > initial try at this was to put "data

audit trail support

2007-04-20 Thread Jason McVetta
I need to add real audit trail and change-notification support to an existing Django app and to one that is under development. The best way to do this, it seems to me, is to add audit support to the Django framework itself. My requirements are similar to those named by Paul Childs in his django-u

Setting up fixture on model with ForeignKey

2007-04-20 Thread James
Hi, I'm having some trouble setting up a fixture for a model (Dataset) that has a many-to-one relation with another model, DataSource. My initial try at this was to put "datasource_id": "1" (the "1" points to a datasource fixture in another file) in the dataset fixture, but that results in "Probl

Re: Can you add a variable to a block?

2007-04-20 Thread Scanner
On Apr 20, 9:44 am, Frank Peterson <[EMAIL PROTECTED]> wrote: > {% block {{story.title}} %}{% endblock %} > > Maybe my question should be can i add a varible inside {% %} ? Yes and no. {% block .. %} is a tag, and tags can be written to understand and resolve variables as arguments. However, I

__str__ referencing variables in other classes

2007-04-20 Thread Jason Murray
This may seem like a pretty basic question, but I can't seem to figure it out. Is it possible to have a class's __str__ function access variables from other classes in a model? For example: class Person(models.Model): first_name = models.CharField(maxlength=30) last_name = models.Ch

moving apps into a subfolder?

2007-04-20 Thread drackett
I would like to move my apps from the root folder of my site to a subfolder (apps.) I tried to match what I saw in the source for the django site, changing my settings.py from: INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib

Can you add a variable to a block?

2007-04-20 Thread Frank Peterson
{% block {{story.title}} %}{% endblock %} Maybe my question should be can i add a varible inside {% %} ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: multiple urls for the same view?

2007-04-20 Thread [EMAIL PROTECTED]
Thanks... that worked like a champ!! On Apr 20, 11:10 am, Oliver Charles <[EMAIL PROTECTED]> wrote: > No, what I mean is more like this. You have one set of urls that act > like a master. Each url should be > similar to > > ('something/$', 'view-handler') > > Notice that it doesn't use ^, so

Re: error separating apps from projects

2007-04-20 Thread tejas
Gah! I'm so sorry I forgot to change one of the urls when moving the app out of my project directory on a related note - I'm using ubuntu and I tried setting the PYTHONPATH variable to my APPS directory, but then django could not see the apps (so I used the python import statement). Am I trying

error separating apps from projects

2007-04-20 Thread tejas
Hi I started learning Django by putting all my apps inside the project directory, and everything works nicely. But I'm going to be building apps that can be shared across projects (one of the neat ideas in Django!), so I'm trying to do that with my example project. I followed some of the posts on

Re: multiple urls for the same view?

2007-04-20 Thread Oliver Charles
No, what I mean is more like this. You have one set of urls that act like a master. Each url should be similar to ('something/$', 'view-handler') Notice that it doesn't use ^, so it will match anywhere. Then, on your seperate sites, you have a site specific url config that includes this ma

Re: multiple urls for the same view?

2007-04-20 Thread [EMAIL PROTECTED]
Wouldn't that just be the same thing, except 4 copies of them exist in appurls.py instead of urls.py? My urls.py is in my source control tree, because there are so many of them, we each pull it down. I know we could take it out of source control and hand change it each time to have /dev1 or /dev

Re: Atom feed not working

2007-04-20 Thread Grupo Django
Don't worry! If you are one of the developers, I only have to say thank you for the excelent job. I really like django. Just a question: When will it be available in the trunk? On 20 abr, 16:53, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-04-20 at 07:44 -0700, Grupo Django wrote

Re: Django Schema Migration

2007-04-20 Thread Mike H
Yeah, eventually I'd like to have the migrations define column additions, deletions and renames using the models from Django. However this is my first foray into the internals of Django so I would have a lot of reading to do! I'm wondering if the schema-evolution branches would have code I can re

Re: multiple urls for the same view?

2007-04-20 Thread Oliver Charles
Yea, there is a way. If you take all your url out, and move them into an appurls.py file or something, you can include this from the main urlpatterns. E.g: urlpatterns = ('', ('^yourprefixhere/', include('pythonpathtoproject.appurls')) I think that should work - there might be other ways t

Re: multiple urls for the same view?

2007-04-20 Thread [EMAIL PROTECTED]
I tried doing that, even though it seemed messy..and it complained about having more than 255 arguments ? On Apr 20, 10:49 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Ok...that fixed that problem... > > Is there any better way to handle the urls.py file though...than > putting different

Re: Atom feed not working

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 07:44 -0700, Grupo Django wrote: > Hello, I think that the atom feeder is not working properly. > > The subtitle item is not shown. > > Here is the code: > class UltimasNoticias(Feed): > feed_type = Atom1Feed > description_template = "noticias/sindicacion_resumen.ht

Atom feed not working

2007-04-20 Thread Grupo Django
Hello, I think that the atom feeder is not working properly. The subtitle item is not shown. Here is the code: class UltimasNoticias(Feed): feed_type = Atom1Feed description_template = "noticias/sindicacion_resumen.html" title = "Title of my site" link = "http://www.mysite.com/";

Re: multiple urls for the same view?

2007-04-20 Thread [EMAIL PROTECTED]
Ok...that fixed that problem... Is there any better way to handle the urls.py file though...than putting different versions of each url? I currently have about 100 urls...and I'm going to have to put 4 versions in for each..seems like there should be an easer way to append something to the front

Re: Django Schema Migration

2007-04-20 Thread Oliver Charles
Hey, this is neat! It's just a shame that it doesn't use Python models or some type of database agnostic representation - any plans there? Great work non the less though! -- Ollie > Hi all, > > Release 0.01 of the migration module can be downloaded from > http://www.aswmc.com/dbmigration/ > a

Re: Intermittent error since last svn up

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 11:19 +, simonbun wrote: > Ok I've found the problem... > > When I said earlier that I tried disabling psyco, I seem to have made > the silly mistake of disabling it on one project, and testing for the > result on another. Mental note to self: opening more than 1 project

Re: Django Schema Migration

2007-04-20 Thread Mike H
Hi all, Release 0.01 of the migration module can be downloaded from http://www.aswmc.com/dbmigration/ as well as a patch to integrate it into the syncdb command. It seems to be working well for the developers here, so here's hoping it's useful for some other people too :) MikeH --~--~

Re: [OT] Vim (was "Poll tutorial question")

2007-04-20 Thread Brett Parker
On Thu, Apr 19, 2007 at 06:23:45PM -0400, Jay Parlar wrote: > > On 4/19/07, Tim Chase <[EMAIL PROTECTED]> wrote: > > > > >> Well, whitespaces in Python are pretty difficult to keep in > > >> line, if you are used to other languages. I personally use > > >> Tabs for intending and VIM editor and ha

Re: Django Schema Migration

2007-04-20 Thread Russell Keith-Magee
On 4/20/07, Mike H <[EMAIL PROTECTED]> wrote: > > Before I release the code, I want to make the migrator call 'install' > from django.core.management if it doesn't find a migration module for > an app. Also, as this is being done as part of a work project, I have to > get permission to release the

Django developers in Israel?

2007-04-20 Thread Yishai
Looking for experienced Django developers (experienced web+python developers as well) for an exciting Israeli-based startup. Drop me a line: yishai at platonix dot com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Intermittent error since last svn up

2007-04-20 Thread simonbun
Ok I've found the problem... When I said earlier that I tried disabling psyco, I seem to have made the silly mistake of disabling it on one project, and testing for the result on another. Mental note to self: opening more than 1 project at a time will only confuse your little mind. Psyco causes

Re: multiple urls for the same view?

2007-04-20 Thread Graham Dumpleton
You need to set PythonInterpreter directive in each Location container directive with a different value in each case. This is so that each Django instance runs in its own Python sub interpreter. You should also change your settings.py file for each and set SESSION_COOKIE_NAME to a different value

Re: Intermittent error since last svn up

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 10:03 +, simonbun wrote: > I've "svn up -r #"d through all the revisions and it seems 4905 > causes it. Wich is the first import of the code. > > Normally more people would have noticed this problem if it's been > around since 4905, so i'm guessing those changes somehow

Re: stackless and django

2007-04-20 Thread Caz
Your thinking on the request ending up blocked while the microthread runs seems to be on the money. I suspect you might have to start up a second system thread within which the stackless microthreads can run. In fact you might run into some interesting issues if you don't. I as far as I know mod_

Re: Intermittent error since last svn up

2007-04-20 Thread simonbun
I've "svn up -r #"d through all the revisions and it seems 4905 causes it. Wich is the first import of the code. Normally more people would have noticed this problem if it's been around since 4905, so i'm guessing those changes somehow clash with my dev server setup... Any clues as to what my c

Re: Encoding in models.py (and maybe other files too)

2007-04-20 Thread ashwoods
ops. my wrong. so the only way to keep it "clean" is using i18n. might be an overkill for small apps in one languange though. On Apr 19, 1:46 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2007-04-19 at 10:45 +, ashwoods wrote: > > ah, i code for english, german, spanish. :) > >

Re: Intermittent error since last svn up

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 09:31 +, simonbun wrote: > I think this is going to weird you out even more. I wrapped it in a > try/except block and the traceback.extract_stack() returns an empty > list... > > For the time being I've rolled back to 0.96 and everything works as > expected. Also, the pr

Re: DateField returns 'str' object has no attribute 'strftime'

2007-04-20 Thread Henrik Lied
Hi Malcolm, I just figured it out - with some help in the IRC-channel. I passed the form variables through datetime.date. That did the trick. Thanks for your reply! On 20 Apr, 11:44, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-04-20 at 09:09 +, Henrik Lied wrote: > > Hi th

Re: DateField returns 'str' object has no attribute 'strftime'

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 09:09 +, Henrik Lied wrote: > Hi there, > > I'm creating a user registration system for a project. > The system uses the SelectDateWidget for user input of birthdate. > > When I try to register a new user, the system spits back this error: > 'str' object has no attribut

Re: Intermittent error since last svn up

2007-04-20 Thread simonbun
Ofcourse it could always be a problem with this dev server, but it's been in use for a couple of years without any problems. Its a pretty standard debian woody setup with python2.4.4 and django over apache2.2 and mod_python3.2.10. On Apr 20, 11:31 am, simonbun <[EMAIL PROTECTED]> wrote: > I think

Re: Intermittent error since last svn up

2007-04-20 Thread simonbun
I think this is going to weird you out even more. I wrapped it in a try/except block and the traceback.extract_stack() returns an empty list... For the time being I've rolled back to 0.96 and everything works as expected. Also, the problem occurs in all of my django projects, so its definitely a

Re: Django Schema Migration

2007-04-20 Thread Mike H
Thanks Ned, that's certainly something I want to bear in mind. At the moment the dbmigration code only uses sql migrations, but the way the migrator is put together will allow me to build support for migrations written in python quite easily. Before I release the code, I want to make the migrato

DateField returns 'str' object has no attribute 'strftime'

2007-04-20 Thread Henrik Lied
Hi there, I'm creating a user registration system for a project. The system uses the SelectDateWidget for user input of birthdate. When I try to register a new user, the system spits back this error: 'str' object has no attribute 'strftime' This is the relevant code: bd_month = frm.data['birthd

Re: Intermittent error since last svn up

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 07:04 +, simonbun wrote: > Hi all, > > I'm getting a weird intermittent exception since i updated django from > trunk yesterday. When I reload apache and request any page I get an > exception for about 3 times, and then after that all goes as intended. This -- and the i

Intermittent error since last svn up

2007-04-20 Thread simonbun
Hi all, I'm getting a weird intermittent exception since i updated django from trunk yesterday. When I reload apache and request any page I get an exception for about 3 times, and then after that all goes as intended. It seems to be a problem with the delayed_loader that replaces each real_* i18

a useful site

2007-04-20 Thread adsf
a useful site http://www.hotalways.com --~--~-~--~~~---~--~~ 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 em