django_profiles migration to Django 1.5

2013-07-13 Thread Rachel
The current version of django_profiles isn't compatible with Django 1.5; how have people coped with this? Django_profiles seems to be a dead project; does anyone have suggestions or experience for how to migrate to another module that does something similar? Rachel -- You received

Re: django and mysql versions

2012-09-30 Thread Elizabeth Rachel Lemon
yone out there who's actually tried it and knows from experience what will happen? If not, I'll try it and update this thread with how it comes out. On Sunday, September 30, 2012 1:38:45 PM UTC-4, Dennis Lee Bieber wrote: > > On Sun, 30 Sep 2012 09:18:49 -0700 (PDT), Eliza

django and mysql versions

2012-09-30 Thread Elizabeth Rachel Lemon
According to this page: https://docs.djangoproject.com/en/dev/ref/databases/ "Django supports MySQL 5.0.3 and higher." But the next section says that MySQLdb is required, and when you click the link to MySQLdb from that page, it goes to this page: http://sourceforge.net/projects/mysql-python/ wh

django-behave

2012-09-22 Thread Rachel
ed in trying it out, I'd appreciate the feedback. Also, this is my first foray into writing a TestRunner; if anyone can point me at any documentation about how to do it well, I'd appreciate it. For example, what's the right way to work with other TestRunners such as nose? Rachel

django-authopenid user timeout

2010-01-21 Thread Rachel Willmer
even sure whether this timeout is caused in django-authopenid or down at the core django level or elsewhere. Any pointers very welcome! Rachel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

Re: Django / memcached / pickle / Unicode = confusion + UnicodeDecodeError

2009-01-16 Thread Rachel Willmer
-1 is doing, that makes sense. Rachel --~--~-~--~~~---~--~~ 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

Re: Django Continuous Integration

2009-01-13 Thread Rachel Willmer
w > these function and which is the most mature. What do you have > experience with? Haven't found a good answer to this yet, although django-evolution looks interesting. I'm interested to hear how others do it all Rachel --~--~-~--~~~---~--~~

Django / memcached / pickle / Unicode = confusion + UnicodeDecodeError

2009-01-13 Thread Rachel Willmer
e python default encoding is 'ascii' and the django DEFAULT_CHARSET is 'utf-8'. So where's this coming from? Any pointers welcome! Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: template tag not rendered - why not?

2009-01-12 Thread Rachel Willmer
e the line with get_mytag was outside the block. Rachel 2009/1/12 Rachel Willmer : > I'm debugging a template tag which used to work under V0.96 and now > doesn't under V1. > > Using logging, I can see that its __init__ function is called, but render > isn't. > &

template tag not rendered - why not?

2009-01-12 Thread Rachel Willmer
I'm debugging a template tag which used to work under V0.96 and now doesn't under V1. Using logging, I can see that its __init__ function is called, but render isn't. Any pointers as to why or how I debug this would be very gratefully r

Re: RHEL 5.2 + mysql + Django 1.0 => Django 0.95.4

2008-12-17 Thread Rachel Willmer
'll go and dig in the relevant places. Thanks again Rachel --~--~-~--~~~---~--~~ 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 unsub

Re: RHEL 5.2 + mysql + Django 1.0 => Django 0.95.4

2008-12-15 Thread Rachel Willmer
Thanks for the reply. Unfortunately the egg gives me the same problems as when I attempt an install from the tarball. Any RHEL users out there encountered this problem and fixed it? Rachel --~--~-~--~~~---~--~~ You received this message because you are

RHEL 5.2 + mysql + Django 1.0 => Django 0.95.4

2008-12-12 Thread Rachel Willmer
g) Any pointers would be very gratefully received! Rachel --~--~-~--~~~---~--~~ 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 unsubsc

Re: is it possible to run 0.96 and 1.0 in parallel?

2008-10-21 Thread Rachel Willmer
Virtualenv - great, just what I've been looking for :-) Thanks Rachel --~--~-~--~~~---~--~~ 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@goog

is it possible to run 0.96 and 1.0 in parallel?

2008-10-19 Thread Rachel Willmer
urrently on the same machine AFAICS - am I going to have to set up another machine to work on the 1.0 upgrade while I maintain the 0.96 release? Any pointers welcome Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

How to force BINARY flag at table creation?

2008-06-01 Thread Rachel Willmer
field, and only one of them is installed in the table. I could fix this, I think, by using the BINARY flag in the CREATE TABLE syntax, but can't see how to do that within the Django model definition. Any pointers, anyone? Rachel --~--~-~--~~~---~--~~ You re

FAQ application available in Django?

2006-12-30 Thread Rachel Willmer
Has anyone written a FAQ application in Django that's publically available? I need one but don't want to re-invent the wheel... Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: sqlite3 "database locked"

2006-11-10 Thread Rachel Willmer
Following up on my own question, it looks to me like implementing a new default Manager class is the way to go. Anyone got a better solution? Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

sqlite3 "database locked"

2006-11-10 Thread Rachel Willmer
I'm using a sqlite3 database as the backend for a Django app and frequently get "OperationalError: database locked". Is there a way of specifying a timeout handler within Django in the same way that you can using the C library version of s

Re: Trac/Django on the same Apache instance

2006-11-10 Thread Rachel Willmer
ANGO_SETTINGS_MODULE djangosite.settings HTH Rachel --~--~-~--~~~---~--~~ 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

how to do complex query which filters on method not database field

2006-11-06 Thread Rachel Willmer
sets and making a union out of the results. I can't find any documentation to show how to union 2 querysets - is it possible? c) Writing a custom Manager. Any pointers welcome Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: is not JSON serializable - again

2006-11-06 Thread Rachel Willmer
tetime.now() datetime_now = str(datetime.datetime.now()) ... etc... Rachel --~--~-~--~~~---~--~~ 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

Re: OT: MySQL to SQLite?

2006-11-03 Thread Rachel Willmer
nd the "source" command in mysql to read it back in. Rachel --~--~-~--~~~---~--~~ 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.c

Re: Can I set a local variable in a template?

2006-11-02 Thread Rachel Willmer
Perfect! thanks Rachel On 02/11/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > Will the 'ifchanged' tag do it for you? > http://www.djangoproject.com/documentation/templates/#ifchanged --~--~-~--~~~---~--~~ You received this message because

Can I set a local variable in a template?

2006-11-02 Thread Rachel Willmer
ine.name }} {% endif %} set prevname=line.name {% endfor %} but I can't see anywhere in the documentation how I set prevname. Any pointers welcome Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

TimeField woes with existing database

2006-11-02 Thread Rachel Willmer
, but I'm curious to know whether it is possible to force Django to read from a db table which uses that format for future reference. Any ideas? Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

GeoIP template tag

2006-11-02 Thread Rachel Willmer
(This is a duplicate of a message I sent yesterday via Google Groups which doesn't seem to have showed up yet) I've posted a template tag for using GeoIP at <http://www.willmer.com/kb/2006/10/django-geoip-templatetag/> Rachel --~--~-~--~~~---~--~--

Re: Can I embed php code in my Django templates?

2006-10-18 Thread Rachel Willmer
Excellent, I'll give it a go Thanks Rachel On 18/10/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > This external template loader example might be useful for you: > http://code.djangoproject.com/ticket/2440 (it's also linked off the > front page of the

Re: Can I catch missing file when using include built-in template tag?

2006-10-18 Thread Rachel Willmer
Yes, good idea. I'll do that. Thanks Rachel On 17/10/06, RajeshD <[EMAIL PROTECTED]> wrote: > > > > > > My default action if I can't find a better way, is to write a view > > just so I can do this check, but I'd rather not if there's an

Re: Can I catch missing file when using include built-in template tag?

2006-10-17 Thread Rachel Willmer
view just so I can do this check, but I'd rather not if there's an alternative I can use within the generic view. Rachel On 17/10/06, RajeshD <[EMAIL PROTECTED]> wrote: > Assuming that you have a view that passes the params.pagename variable > to your template, you could

Can I embed php code in my Django templates?

2006-10-17 Thread Rachel Willmer
olved migrating the blog to Django)? TIA Rachel --~--~-~--~~~---~--~~ 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

Can I catch missing file when using include built-in template tag?

2006-10-17 Thread Rachel Willmer
than just displaying blank content, as currently happens. Is this possible to do without writing a bespoke template tag? TIA Rachel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: setting default value for foreign key?

2005-09-21 Thread Rachel Willmer
No, sorry, that was an error I introduced when I was composing the email... here's the real code... class AssetState(meta.Model): state=meta.CharField(maxlength=128) def __repr__(self): return self.state class META: admin=meta.Admin() ordering = ['id'] class

setting default value for foreign key?

2005-09-21 Thread Rachel Willmer
newstate=assetstates.get_object(state__iexact="New") Neither worked. The first didn't complain, but it didn't set the default value either. The second compained that it couldn't recognise assetstates. Is this possible? Rachel

Re: auto-generated template for generic views

2005-09-08 Thread Rachel Willmer
into your template directory to over-ride the inbuilt one, as described in <http://www.djangoproject.com/documentation/tutorial2/#customize-the-admin-look-and-feel> Then you can modify that as you wish... Rachel On 04/09/05, Rachel Willmer <[EMAIL PROTECTED]> wrote: > I want to

Use of ForeignKeys in generic view template

2005-09-07 Thread Rachel Willmer
I've seen various references in the documentation to being able to use a generic view to add an object which contains a ForeignKey field, and automagically generate the appropriate SELECT html. Is this possible? If so, could some kind soul point me to an example of how to do it? Thanks Rachel

Re: auto-generated template for generic views

2005-09-05 Thread Rachel Willmer
> That's a really interesting idea. I think it'd be better to > "statically" generate the templates a single time, rather than have > Django create the templates automatically, because the former would > allow people to custom the templates' look and feel. Maybe a > "django-admin.py formtemplate a

auto-generated template for generic views

2005-09-04 Thread Rachel Willmer
e_stage to automatically generate the templates? Or is there a better way of doing this? Any pointers welcome... Rachel

Re: iterative data model development

2005-09-01 Thread Rachel Willmer
On 01/09/05, Sebastien Fievet <[EMAIL PROTECTED]> wrote: > Django is not a release product. So, some features are not implemented > yet. Just leave their some time, and be patient ;) Not hassling, just asking :-) I think this is a *great* product, released or not... I'm just trying to understan

Django documentation search engine

2005-09-01 Thread Rachel Willmer
To help me get to grips with Django quickly, I created a search engine of the documentation. On the off-chance this is useful to others, I've made it available at <http://www.hobthross.com/docs/django/phpdig/search.php> Comments, brickbats, etc welcome... Rachel

initial data

2005-09-01 Thread Rachel Willmer
is there a django way to set up the tables with the initial data I want? or should I just do this using a postgres script? Rachel

iterative data model development

2005-09-01 Thread Rachel Willmer
Next question, I'm building up a data model iteratively e.g. write a bit of it, fix the errors caused by my lack of experience with Django, go back and write some more... Is there an easier way to do this than deleting the database each time so the right tables/columns get created? Rachel

backing up application/data

2005-09-01 Thread Rachel Willmer
he data? Or should I just use the existing postgresql utilities? Rachel