Re: Any job queue systems that integrates with Django & allow scheduling jobs by date?

2010-08-17 Thread Rohan Jain
i think what you need is http://code.google.com/p/django-cron/ Also you may want to check out http://celeryq.org/ if you want to do parallel processing, distribute jobs to other computers to ease the web server load. On Aug 18, 5:10 am, Andy wrote: > I have a Django

Re: /path/to/project

2010-08-17 Thread Kenneth Gonsalves
On Wed, 2010-08-18 at 10:19 +0530, Kenneth Gonsalves wrote: > On Tue, 2010-08-17 at 22:14 -0300, Alex s wrote: > > > > Using your example '/home/alex/projects/' need to be replaced by: > > "WSGIScriptAlias / /home/alex/projects/mysite/apache/django.wsgi" > > > > Rigth? > > wrong -

Re: /path/to/project

2010-08-17 Thread Kenneth Gonsalves
On Tue, 2010-08-17 at 22:14 -0300, Alex s wrote: > > Using your example '/home/alex/projects/' need to be replaced by: > "WSGIScriptAlias / /home/alex/projects/mysite/apache/django.wsgi" > > Rigth? wrong - /home/alex/projects/mysite/apache/ -- regards Kenneth Gonsalves -- You received this

Re: utf-8 encoding not working with mysql

2010-08-17 Thread adam
Karen, Thank you very much. Our collation is set to utf8_bin, which was the source of the problem. Adam On Aug 17, 9:01 pm, Karen Tracey wrote: > 2010/8/17 adam > > > > > > > When I connect directly to mysql using the mysql client program, I see > > that

Re: Bind variables in Oracle backend - how to use them?

2010-08-17 Thread Ian
On Aug 17, 4:59 pm, buddhasystem wrote: > I guess the problem is that I need to use raw queries to provide "hints" to > Oracle. There has been some chatter recently on the developers list about adding support for optimizer hints, but I don't believe the syntax has settled yet.

Re: Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
I realized there may have been some pre-existing stuff in the directory, so I renamed it and extracted fresh from tarball. I got an error I had seen earlier but couldn't reproduce: AttributeError at / 'module' object has no attribute 'register' Request Method:GETRequest

Re: utf-8 encoding not working with mysql

2010-08-17 Thread Karen Tracey
2010/8/17 adam > When I connect directly to mysql using the mysql client program, I see > that my table contains utf-8 data. Here are the environment settings: > > mysql> SHOW VARIABLES LIKE '%character%'; > [snip] > > However, when I access my model through the django shell,

Re: Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
Thank you; I'm not seeing how. My admin.py reads: import django.contrib.admin import directory.models import tagging django.contrib.admin.autodiscover() django.contrib.admin.site.register(directory.models.Entity) django.contrib.admin.site.register(directory.models.Location)

Re: Migration: AlreadyRegistered

2010-08-17 Thread Sam Lai
It means somehow you're calling this line in an admin.py file twice - admin.site.register(Entity) Check the admin.py file for the app that contains the Entity model. On 18 August 2010 10:57, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I am trying to migrate from

Re: Django Setup

2010-08-17 Thread Sam Lai
On 18 August 2010 07:29, Marty wrote: > Runing on Windows 7 > First time user of Django and Python.  Got python installed at f: > \python27,  downloaded DJango tar file.  Used WInRAR to extract. > Copied all of DJANGO into Python27 You actually don't need to do that;

Re: /path/to/project

2010-08-17 Thread Alex s
So, this instruction.. "WSGIScriptAlias / /path/to/mysite/apache/django.wsgi" Using your example '/home/alex/projects/' need to be replaced by: "WSGIScriptAlias / /home/alex/projects/mysite/apache/django.wsgi" Rigth? Thanks Alex On Tue, Aug 17, 2010 at 9:59 PM, Kenneth Gonsalves

Re: /path/to/project

2010-08-17 Thread Kenneth Gonsalves
On Tue, 2010-08-17 at 21:48 -0300, Alex s wrote: > What does "/path/to/project" means ? if your project is in /home/alex/projects/myproject/ then /path/to/project/ is '/home/alex/projects/' -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google

Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
I am trying to migrate from one server to another: I tarred it up on the Linux server, untarred on a Mac, got one or two complaints about missing packages, and when I had resolved them, got the error below. Entity is the name of one of my models. What does this mean, and how is this issue

/path/to/project

2010-08-17 Thread Alex s
Hi People What does "/path/to/project" means ? Thanks Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Any job queue systems that integrates with Django & allow scheduling jobs by date?

2010-08-17 Thread Andy
I have a Django application. One of my models looks like this: class MyModel(models.Model): def house_cleaning(self): // cleaning up data of the model instance Every time when I update an instance of MyModel, I'd need to clean up the data N days later. So I'd like to

How to automatically insert user_id in admin

2010-08-17 Thread Martin Tiršel
Hello, I need to auto-fill currently logged in user in admin after saving a model, but can not find a solution :( In save method of a model is no access to the HttpRequest object, so I don't know how to get the User. I found a "solution" with Modelform

utf-8 encoding not working with mysql

2010-08-17 Thread adam
When I connect directly to mysql using the mysql client program, I see that my table contains utf-8 data. Here are the environment settings: mysql> SHOW VARIABLES LIKE '%character%'; +-- +-+ | Variable_name| Value

Re: Django Setup

2010-08-17 Thread Steve Holden
On 8/17/2010 5:29 PM, Marty wrote: > Runing on Windows 7 > First time user of Django and Python. Got python installed at f: > \python27, downloaded DJango tar file. Used WInRAR to extract. > Copied all of DJANGO into Python27 > > Ran python setup.py install > > Tutorial one says: > >>From

Re: Django Setup

2010-08-17 Thread Steve Holden
On 8/17/2010 5:29 PM, Marty wrote: > Runing on Windows 7 > First time user of Django and Python. Got python installed at f: > \python27, downloaded DJango tar file. Used WInRAR to extract. > Copied all of DJANGO into Python27 > > Ran python setup.py install > > Tutorial one says: > >>From

Re: Django Setup

2010-08-17 Thread cootetom
django-admin.py is usually located in the bin directory of the django source. You can use it from there but you need to also say: python django-admin.py startproject mysite You must use the python interpreter in order to run a .py file. Hope that helps. On Aug 17, 10:29 pm, Marty

Django Setup

2010-08-17 Thread Marty
Runing on Windows 7 First time user of Django and Python. Got python installed at f: \python27, downloaded DJango tar file. Used WInRAR to extract. Copied all of DJANGO into Python27 Ran python setup.py install Tutorial one says: >From the command line, cd into a directory where you’d like

Re: Can I simply disable the CSRF? crazy

2010-08-17 Thread Karim Gorjux
On Tue, Aug 17, 2010 at 23:29, Rolando Espinoza La Fuente wrote: > See csrf_exempt decorator: > http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#exceptions I had problems too, but the decorator is a good patch for the moment :-) Thanks! -- Karim Gojux

Re: Bind variables in Oracle backend - how to use them?

2010-08-17 Thread buddhasystem
I guess the problem is that I need to use raw queries to provide "hints" to Oracle. The class RawQuerySet does not have the "extra" method, as it appears. Ian Kelly-2 wrote: > > On Aug 13, 11:04 am, buddhasystem wrote: >> Friends, >> >> I'm in need of an implementation

Re: project management app

2010-08-17 Thread chris hendrix
yeah i couldn't get it installed either. I'm wondering if the project was abandoned or something. I don't have time to contribute anything in regard to programming at the moment due to starting up a web design firm. However, i'd love to help you flesh out ideas or be a beta tester for

Re: project management app

2010-08-17 Thread tiemonster
I was unable to get the code working. I'm developing a project management application for Django if you're interested in contributing. On Aug 16, 2:27 pm, Bobby Roberts wrote: > hi all. > > I've foundhttp://code.google.com/p/django-project-management/out > there as a project

Re: Can I simply disable the CSRF? crazy

2010-08-17 Thread Rolando Espinoza La Fuente
On Tue, Aug 17, 2010 at 8:01 AM, chenge wrote: > I'm new to django. CSRF let me crazy! Can't use {% csrf_token %} tag inside your 's? See csrf_exempt decorator: http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#exceptions Regards, Rolando Espinoza La fuente

Re: To make a basecamp like - project management site

2010-08-17 Thread tiemonster
Without help, a feature-complete first release would probably be in January. I might push some code to svn by the end of the month. Like I said, though, if there is interest in contributing, something can be worked out. It's a simple GTD type of app, but could certainly be extended to include

project management app suggestion

2010-08-17 Thread Bobby Roberts
hi all... there have been posts in the past about project management apps but all of the threads seem dated by quite a bit. I am wondering if there is any project management (ie like basecamp) app out there that can be easily installed in the django /admin. Please let me know if you know of

URL template tags fail in Tests but work in Dev and Production ( Django 1.2.1 )

2010-08-17 Thread Bryan
I've been trying to add the django-lean app to my project. I have not been able to get the tests to pass. It took me a few days with a debugger to determine what the problem was. It seems that all the URL template tags fail in Test mode, but not in Production nor Developement. Failure happens

Re: passing parameter from view to template

2010-08-17 Thread djnubbio
ok it work, tank to your previous suggestion... I didn't pay enough attention and was invoking that page from a wrong URL tank again for your preciouse time. On 17 Ago, 21:10, Steve Holden wrote: > On 8/17/2010 2:49 PM, djnubbio wrote: > > > tank for your response. I try

Re: passing parameter from view to template

2010-08-17 Thread Steve Holden
On 8/17/2010 2:49 PM, djnubbio wrote: > tank for your response. I try your suggestion, but it wont work! > > I try to output zxc writing: > >{{ comm.id }}#{{ zxc }} > > > > and I get the following: > > ... > 171# > 140# > 30# > 90# > ... > > > thus I think zxc was empty, but i may

Re: passing parameter from view to template

2010-08-17 Thread djnubbio
tank you, too. I did in advance what you suggest, and was for that reason i said zxc was empty... On 17 Ago, 20:39, Shawn Milochik wrote: > In addition to what Steve said, I'd recommend putting something like > this in your template as a test: > > zxc is: '{{ zxc }}' >

Re: passing parameter from view to template

2010-08-17 Thread djnubbio
tank for your response. I try your suggestion, but it wont work! I try to output zxc writing: {{ comm.id }}#{{ zxc }} and I get the following: ... 171# 140# 30# 90# ... thus I think zxc was empty, but i may be wrong... waiting again for suggestions. tanks. On 17 Ago, 20:22, Steve

Re: passing parameter from view to template

2010-08-17 Thread Shawn Milochik
In addition to what Steve said, I'd recommend putting something like this in your template as a test: zxc is: '{{ zxc }}' comm.id is: '{{ comm.id }}' This may save you some time if something you don't expect is happening. Shawn -- You received this message because you are subscribed to the

disabling session management for certain requests

2010-08-17 Thread dmitry b
Hi, My application has both stateful and stateless (REST) views. Stateful views primarily back browser-based GUI, while stateless are for RESTful service requests. Is there a way to disable session management for the stateless requests? Thanks Dmitry -- You received this message because

VersionConflict with pip but django updated

2010-08-17 Thread Alexandre González
Hi! I'm trying to install django-easymode, I get a version conflict, so I remove my django from /usr/local/lib/python2.6/dist-packages as [1] says. And after it reinstall my django from sources with python setup.py install. When I run python -c "import django; print django.VERSION" I get the

Re: passing parameter from view to template

2010-08-17 Thread Steve Holden
On 8/17/2010 1:53 PM, djnubbio wrote: > hi all and tank in advance for wasting your time; i'm very newby in > django framework > > I have the following: > > > > #views.py > ... > def lista_diario(request, comm_id): > comm_list = > Commessa.objects.all().annotate(oretot=Sum('diario__ore'))

Passing request.user to FormWizard?

2010-08-17 Thread Asinox
Hi guy's i want to know how pass request.user to my Form Wizard?, any idea? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email

Can I simply disable the CSRF? crazy

2010-08-17 Thread chenge
I'm new to django. CSRF let me crazy! thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

passing parameter from view to template

2010-08-17 Thread djnubbio
hi all and tank in advance for wasting your time; i'm very newby in django framework I have the following: #views.py ... def lista_diario(request, comm_id): comm_list = Commessa.objects.all().annotate(oretot=Sum('diario__ore')) return render_to_response('commesse/lista_diario.html',

Re: select statements with specific fields across multiple tables...

2010-08-17 Thread Cindy
Ah *geez* not the "bug due to typo which you can't see b/c you've been looking at the code nonstop for way to long" problem *headdesk* That's what I get for looking at the django tables directly in mysql to recall the columns. Thanks, guys. Dammit, I hate it when I do that. So, I'm

geodjango: windows installer for geos dependency?

2010-08-17 Thread Reinout van Rees
Hi, (I also mailed the mapnik user list with this problem, not sure what the best place is) I have to install my geodjango app on a windows server for a specific customer. After one day, I've almost got it working. Remaining problem: the geo database is oracle, so apparently I need the

Re: Using sqlite :memory: database for development.

2010-08-17 Thread Shawn Milochik
Try --NOINPUT http://docs.djangoproject.com/en/1.2/ref/django-admin/#syncdb Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email

Re: Ordering in the admin

2010-08-17 Thread Wendy
Thanks Nick, I guess I'll be passing that value, that makes sense. I'm using a generic view to write the list page, I'll read up more on the queries, thanks for all your help, Wendy On Aug 16, 9:55 pm, Nick Serra wrote: > The_film was just sudo code. I was assuming you

transactions in management commands

2010-08-17 Thread dmitry b
Hi, What's the default transaction mode for django management commands? Thanks Dmitry -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send

Re: Foreignkeys and variables in a view

2010-08-17 Thread Nick
This appears to be working. Thanks a lot Steve, I really appreciate the help. On Aug 17, 9:07 am, Nick wrote: > Thanks, Steve. I'll implement this today and see what happens. > > On Aug 16, 9:46 pm, Steve Holden wrote: > > > On 8/16/2010 10:30 PM, Nick

Recently Queried Models

2010-08-17 Thread mike171562
I have a Django App with a list of our Customer's as Models. I'm trying to find a good way to show a list of links on one of my templates of the 10 most recently accessed customer's. Is there any easy django way to do this. I thought about creating a new table in my DB, but dont really want to do

Re: How to execute some user defined codes (functions) when Django boot?

2010-08-17 Thread Mathieu Leduc-Hamel
Paul, no it's not exactly the point. When you said some code on the boot up it means really a piece of code shared by everyone and executed just one time, by example, for mod_wsgi it would be when apache is starting. That's exactly what's done in the Pylons world to be able to load some piece of

Translate data from Database

2010-08-17 Thread Alexandre González
Hi! I need a model to complete a combo in my app. The models have only code and name, but I need to translate this name. I think about do something similar to this: class ComboFill(models.Model): code = models.CharField... language = models.CharField... name = models.CharField...

Re: Validation and dynamically extending ChoiceField choices

2010-08-17 Thread ringemup
Oh, that sounds like a great way to handle it. Thank you! On Aug 17, 10:10 am, Alex Robbins wrote: > Maybe the ChoiceField should just be a CharField that just uses the > Select widget class? That way it won't have choices hardcoded into the > field validation.

Re: Using sqlite :memory: database for development.

2010-08-17 Thread Thiago Padilha
Ok I managed to get that working, when I start the server I get : Django version 1.1.1, using settings 'mysite.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Creating table django_admin_log Creating table auth_permission Creating table

Re: How to execute some user defined codes (functions) when Django boot?

2010-08-17 Thread Paul Winkler
Seems to me that "on boot up" doesn't mean anything in a shared- nothing architecture like Django's. For example if you deploy on eg. mod_wsgi. You have no idea how long any particular thread or process is going to live, and no idea how often this "boot" code would get run. But assuming that's

Re: Using sqlite :memory: database for development.

2010-08-17 Thread Shawn Milochik
Middleware executes with each request, so it's probably not the best place for such a thing. It seems like it would be a lot easier to use a normal sqlite3 database and just delete it after each run. Also, if you have test data you'd like to reload regularly, I recommend using a regular

Re: Chopping Queryset

2010-08-17 Thread Mathieu Leduc-Hamel
If you want the job offer of the current logged user it should be pretty simple using a filter like that: jobsfound.filter(userdetail__user=request.user) But if i was you i would invert the order of these two filter like that: jobsfound = joblist.objects.filter(userdetail__user=request.user)

Chopping Queryset

2010-08-17 Thread Niall
Hey, Given the models below, I want to display all jobs, but mark those of the User that is logged in? My Model definition--- User model is the built in User model. class joblist(models.Model): name=models.CharField(...) userdetail =

Re: Validation and dynamically extending ChoiceField choices

2010-08-17 Thread Alex Robbins
Maybe the ChoiceField should just be a CharField that just uses the Select widget class? That way it won't have choices hardcoded into the field validation. Your clean method could check that the domain is valid. Alex On Aug 16, 1:39 pm, ringemup wrote: > I have a domain

Re: Foreignkeys and variables in a view

2010-08-17 Thread Nick
Thanks, Steve. I'll implement this today and see what happens. On Aug 16, 9:46 pm, Steve Holden wrote: > On 8/16/2010 10:30 PM, Nick Tankersley wrote:> Thank you again for your > replies. They've been full of usefull > > information about how to clean up an otherwise pretty

Re: Long running process and time outs?

2010-08-17 Thread Alex Robbins
This is exactly the sort of issue that celery was created to solve. It is a task queue management system. http://celeryproject.org/ Alex On Aug 14, 1:28 pm, ydjango wrote: > I have a online user initiated synchronous process which runs anywhere > between 1-5 minutes and

Re: CSRF verification failures (admin)

2010-08-17 Thread Alex Robbins
Have you done any admin template customization? If you copied a template from django before 1.2, then upgraded, your admin template might be missing the csrf_token template tag. Alex On Aug 17, 7:55 am, PieterB wrote: > For an internal application, I constantly receive

Re: multiple forms for same model

2010-08-17 Thread Alex Robbins
contract_form.is_valid() looks at the data that was bound to the form. This is normally the data in request.POST. It doesn't matter what a form's initial data happened to be. It only matters what data you POST back to it. If someone doesn't modify the form, then the initial and the POSTed data are

Proxy models and Meta options

2010-08-17 Thread Mathieu Leduc-Hamel
Hi all, I've just used a proxy model in my own custom application and i've just found a small problem. Right now, to be able to create a Proxy model, i'm force to redefine a Meta options like that: class NewDiscount(Discount): class Meta: proxy = True The problem i have is that the

Django, Redirects and htaccess via Static App

2010-08-17 Thread Parthian
A Django Theoritical discussion point. Re-post from Webfaction forum - more a django question than webfaction specific). Over the weekend I had a huge number of pages/hits from one IP address (logged via awstats). Assuming some kind of funny business I decided to block that IP address. Two

Re: select statements with specific fields across multiple tables...

2010-08-17 Thread Daniel Roseman
On Aug 17, 1:57 pm, Cindy wrote: > But that filter will just give me a list of tuples with > RaidPhysicalDrive's values.  I want to understand how I can include > in the list I send to my template, the *additional* values for system > name, storage name, and array name, so I can

Re: How to execute some user defined codes (functions) when Django boot?

2010-08-17 Thread Mathieu Leduc-Hamel
Tang, do you mean : "How to execute some pieces of code when you launch the "runserver" command by example" ? If this is what you mean, it's not a easy thing to do right now. Then only way i found it possible is by using: twod.wsgi With twod.wsgi you can use the entry points system of python

Re: Save_model versus model.save() and the order they are called.

2010-08-17 Thread vjimw
I remedied this problem by actually doing all of my work in the save_model() method. It has all the initial data set on the model which allowed me to check which values changed (date and/or user) and set audits as needed. On Aug 12, 4:06 pm, vjimw wrote: > We have a

Re: select statements with specific fields across multiple tables...

2010-08-17 Thread Cindy
But that filter will just give me a list of tuples with RaidPhysicalDrive's values. I want to understand how I can include in the list I send to my template, the *additional* values for system name, storage name, and array name, so I can display/dump all the info in a table. I don't want to put

CSRF verification failures (admin)

2010-08-17 Thread PieterB
For an internal application, I constantly receive CSRF verification failed" errors... most of the times when using the admin interface It doesn't happen with the local dev version (dev http server) but happens with the deployment version (custom port, cherokee web server) I can only use the

Re: How to execute some user defined codes (functions) when Django boot?

2010-08-17 Thread Emily Rodgers
On Aug 17, 2:26 am, Tang Daogang wrote: > Dear all, > > Recently, I have developed a plugin system for my app, and I want to > register those plugins when my app boot up, this need to execute some > user defined codes (functions) in app boot procedure, I don't know > where

Re: Another question: how to apply custom variable into django template automatically?

2010-08-17 Thread Steve Holden
On 8/16/2010 9:36 PM, Tang Daogang wrote: > Dear all, > > I have developed a CMS, which containing a dynamic menu. Because menu > should be displayed on every page of my site, I need to write the menu > variable into every view function against every page template, this is > very boring... > >

Re: Another question: how to apply custom variable into django template automatically?

2010-08-17 Thread Daniel Roseman
On Aug 17, 2:36 am, Tang Daogang wrote: > Dear all, > > I have developed a CMS, which containing a dynamic menu. Because menu > should be displayed on every page of my site, I need to write the menu > variable into every view function against every page template, this is >

ManyToMany Template THROUGH model extra fields

2010-08-17 Thread Niall
Hey, Ive a problem referencing to my "THROUGH" m2m model extra fields. I can reference the linked model (User), but not the extra detail on the "through-model" (listuser) My Model definition--- User model is the built in User model. class joblist(models.Model): userdetail =

Using sqlite :memory: database for development.

2010-08-17 Thread Thiago de Arruda
Hi, I'm coming to django from grails, in which which I used an in-memory hsql database for development and in my startup script I initialized the in-memory database with some stub values/users that were inserted everytime I started the server. This setup was really helpful in early stage

Another question: how to apply custom variable into django template automatically?

2010-08-17 Thread Tang Daogang
Dear all, I have developed a CMS, which containing a dynamic menu. Because menu should be displayed on every page of my site, I need to write the menu variable into every view function against every page template, this is very boring... So is there some method to implement applying custom

How to execute some user defined codes (functions) when Django boot?

2010-08-17 Thread Tang Daogang
Dear all, Recently, I have developed a plugin system for my app, and I want to register those plugins when my app boot up, this need to execute some user defined codes (functions) in app boot procedure, I don't know where insert my registering codes to, anyone can help? Thank you. -- You

Re: Changing a model of place from the admin site

2010-08-17 Thread Mathieu Leduc-Hamel
Thanks Andy, It might be a solution and maybe the only one as you said. I'll maybe try it or somebody propose me this other solution: Create a subclass of the models classes i would like to move by creating proxy objects. It force you create sometime a large number of object but it might less

Re: Changing a model of place from the admin site

2010-08-17 Thread AndyB
I did something similar by subclassing AdminSite and overriding the index method. Copy the original method from contrib.admin and modify app_list before you render the template. It does break breadcrumbs and intermediate app pages (/admin/someapp/) but with some shameless hackery I fixed this

Re: multiple forms for same model

2010-08-17 Thread Mess
Thx both for helping, I guess there isn't a straight forward solution, I'll prob add the missing fields manually. However I still don't get why contract_form.is_valid() doesn't return true since contract_form still contains the correct data when viewing in browser. -- You received this message

Re: MySQL Newbie question

2010-08-17 Thread Xavier Ordoquy
Hi, On top of the package found on mysql, you have to check that mysql_config is in the path (it is provided by the package). In a shell just run the command. If you just installed the mysql package for osx, you will want to open a new shell to get an updated path. Regards, Xavier. Le 16 août

load auth data with natural keys

2010-08-17 Thread knight
Hi, I am using django 1.2.1. I dumped the auth data with natural keys (-- natural), but when I try to load them I get the following error: Installing xml fixture 'auth' from absolute path. Problem installing fixture 'auth.xml': Traceback (most recent call last): File