HBase and Django

2008-12-28 Thread Mark Jarecki
Hi, I was wondering whether anyone has made any headway into getting HBase working with Django? I think the existence of such an option would be definite boon to the framework. Cheers Mark --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Cannot resolve keyword '___' into field

2007-05-31 Thread Mark Jarecki
te: On Tue, 2007-05-15 at 16:54 +1000, Mark Jarecki wrote: > The temporary fix that I've employed at the moment is e.g.: > > > Instead of > > >>> osIcons = >>> product.productOSIcons.filter(isPublished=True).order_by >>> ('osIconNa

Re: Cannot resolve keyword '___' into field

2007-05-14 Thread Mark Jarecki
for icon in icons: if Products.objects.filter(id=product.id, productOSIcons=icon, isPublished=True): osIcons2.append(icon) Which is a REALLY ugly solution, but hopefully I wont have to use it for too long. Mark. On 15/05/2007, at 3:15 PM, Mark Jarecki wrote: I'm not su

Re: Cannot resolve keyword '___' into field

2007-05-14 Thread Mark Jarecki
ment server which is running OSX. Suggestions? On 15/05/2007, at 9:42 AM, Mark Jarecki wrote: > Just to let you know, the code below works fine on the development > server. > > I've now tried all the patches and the error still persists. Are > there any suggestions

Re: Cannot resolve keyword '___' into field

2007-05-14 Thread Mark Jarecki
Just to let you know, the code below works fine on the development server. I've now tried all the patches and the error still persists. Are there any suggestions? Cheers Mark On 14/05/2007, at 1:33 PM, Mark Jarecki wrote: > Hi, > > Im currently at a loss about how to fix thi

Cannot resolve keyword '___' into field

2007-05-13 Thread Mark Jarecki
Hi, Im currently at a loss about how to fix this issue. I have tried the modpython.patch in #1796. What is weird is that the doesn't consistently appear - it is intermittent. When I refresh the page it sometimes appears as it should, and other times with the error. I'm running the latest Dja

Re: loaddata issue

2007-05-06 Thread Mark Jarecki
Hi Russ, Thank you for all your help, I renamed my app name and it works fine at the moment. I posted a ticket (I hope its ok, my fist one) #4231. Thanks again, Mark. On 06/05/2007, at 10:21 AM, Russell Keith-Magee wrote: On 5/5/07, Mark Jarecki <[EMAIL PROTECTED]> wrote: > &g

Re: loaddata issue

2007-05-04 Thread Mark Jarecki
ame"); CREATE UNIQUE INDEX "Guide_venue_venueSlug" ON "Guide_venue" ("venueSlug"); COMMIT; and here is the minimal data file that fails: cat test.json [{"pk": "1", "model": "Guide.venuetype", "fields": {&q

Re: loaddata issue

2007-05-04 Thread Mark Jarecki
#x27;, (SELECT max("id") FROM "Guide_venuetype")); Hope this helps. Thanks again, Mark On 04/05/2007, at 4:46 PM, Russell Keith-Magee wrote: On 5/4/07, Mark Jarecki <[EMAIL PROTECTED]> wrote: > > Hi, > > I've come across an issue trying to loaddata i

loaddata issue

2007-05-03 Thread Mark Jarecki
Hi, I've come across an issue trying to loaddata into my database, and am wondering if anyone else has come across this too? and how to go about fixing it. I have Apache2.2.4, mod_python3.3.1, Python-2.5.1, postgresql-8.2.4, psycopg2-2.0.5.1 installed. Please let me know if you require any

Re: Psychopg 2 Install

2007-04-17 Thread Mark Jarecki
recommended solution? Or will a lot of customisation be necessary? I notice that quite a few sites are running set-ups that separate the servers according to their function (web, static and database), so this can't be a rare set-up. Thanks in advance Mark On 18/04/2007, at 1:04 PM,

Re: Psychopg 2 Install

2007-04-17 Thread Mark Jarecki
s and configuration/security considerations. Start simple, verify and get comfortable with the setup, and then take steps to achieve the setup you desire. Hope this helps. -Brian On Apr 17, 6:23 pm, Mark Jarecki <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to set-up a d

Re: Psychopg 2 Install

2007-04-17 Thread Mark Jarecki
Realised that Psycopg sits on the database server and you refer to it through the settings.py file. Should get more sleep On 18/04/2007, at 11:23 AM, Mark Jarecki wrote: Hi I'm trying to set-up a django system comprising a separate web server, static server and database server. Where

Psychopg 2 Install

2007-04-17 Thread Mark Jarecki
Hi I'm trying to set-up a django system comprising a separate web server, static server and database server. Where does Psychopg live: on the web or database server? And how would I go about configuring the two? Cheers Mark --~--~-~--~~~---~--~~ You received

Copying objects in admin

2007-03-14 Thread Mark Jarecki
Hi guys When you click the "Save and Add Another button" in the Admin, the values are cleared and all need to be re-entered for the new object. How would I go about saving that existing object and then transferring the field values to the new object. This would save a lot of time for some

Saving a model instance multiple times

2007-03-14 Thread Mark Jarecki
Hi, I was wondering how you would go about saving a model instance multiple times (having seperate db entries) while changing just one or two fields each time. I'm wanting to use a single series of inputs that define the parameters to create/save multiple event objects to the database. J

Many-to-many search

2007-02-25 Thread Mark Jarecki
Hi guys, I'm setting up a site with many events that occur at many places. I want to create a scalable search and am considering using something like Xapian to implement it, however, I've not used it or its equivalents before. Does anyone have clear instructions on how to install and use X

Re: For Loops

2007-01-16 Thread Mark Jarecki
Replaced the dictionary in the views.py with a list and all was fine. Thanks Mark --~--~-~--~~~---~--~~ 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@googlegro

Re: For Loops

2007-01-16 Thread Mark Jarecki
On 17/01/2007, at 11:40 AM, Zak Johnson wrote: Mark Jarecki wrote: I imagined replacing it with something like: {% for date in Date_List %} {{ Date_List.NotSureWhatToPutHere }} {% endfor %} Much like Python loop syntax: {% for date in Date_List %} {{ date }} {% endfo

For Loops

2007-01-16 Thread Mark Jarecki
Hi there. I'm trying to create a list of days of the upcoming week in my template. I have the following, but would like to have the template instead utilise a for loop instead of hard coding the days. At present i have the following - which works: #views.py def detail(request): date_l

Foreign Keys and upload paths

2006-11-08 Thread Mark Jarecki
Hi allI'm trying to use the value of a foreignkey as an input to the "upload_to" path of an image field (note I'm using ImageWithThumbnailField and it works properly when upload_to='Images/'). But i can't seem to form a proper string to enter. The images load into folders with names such as: When a

Re: Nesh Thumbnail - Installation problem

2006-11-06 Thread Mark Jarecki
Thanks guys Ended up that the Python Imaging Library was not correctly installed. It all works now! Cheers On 07/11/2006, at 2:15 AM, Nebojsa Djordjevic wrote: * Frankie Robertson wrote, On 06.11.2006 12:59: > On 06/11/06, Gabriel Puliatti <[EMAIL PROTECTED]> wrote: >> On Mon, 2006-11-06 a

Nesh Thumbnail - Installation problem

2006-11-06 Thread Mark Jarecki
Hi all, I'm new to Django and Python - been at it for 4 days now - and have found it quite straightforward. However, I've come into difficulty trying to install Nesh Thumbnail according to the instructions at: http://trac.studioquattro.biz/djangoutils/wiki/AppInst And for the life of me I