Does not automatically assign ID?

2020-10-14 Thread Joakim Hove
Disclaimers: 1. This issue is also on StackOverflow: https://stackoverflow.com/questions/64320386/django-postgresql-model-with-only-foreign-keys 2. I posted this here in this group a couple of days ago without finding a solution. I must admit I am quite baffled by this problem,

Re: Problem with Postgresql-11.9 ??

2020-10-12 Thread Joakim Hove
currently > 12.4 and 3.1.2, respectively) and would think I would have stumbled on this > at some point when using postgresql-11. But I probably haven’t tried 11.x > with 3.1.2 specifically… > > - Tom > > On Oct 12, 2020, at 9:24 AM, Joakim Hove wrote: > > [ This question is a

Problem with Postgresql-11.9 ??

2020-10-12 Thread Joakim Hove
clear to me whether this is a bug in my code (most probable ...), Django or Postgres. I am using Django version 3.1.2 Any hints appreciated. Regards - Joakim Hove -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Re: Heroku database migration

2020-07-19 Thread Joakim Hove
bash% heroku run python. /manage.py migrate søn. 19. jul. 2020, 18:48 skrev Aman Mandloi : > Added a small model 'new_model' in existing app 'existing_app' on Django, > Entered commands manage.py makemigrations and manage.py migrate it > migrated changes to local database. > Tried to apply same

Re: Failed to push Django project on github using gitbash

2019-04-18 Thread Joakim Hove
> [...] and merged also but it was giving same error again and again. bash% git fetch origin (assuming your remote is "origin" - which is typically the default) bash% git merge origin/master bash% git push origin master If this for some reason does not work (I can not understand why it should

Re: Time tracker sytem

2019-02-03 Thread Joakim Hove
A space sneaked in in the github address: https://github.com/joakim-hove/ptime Den søn. 3. feb. 2019, 15:50 skrev Joakim Hove I have created such a system - it is extremely basic, but it covers my > needs. Feel free to take a look: > > https://github.com/joakim-hove/ptime > >

Re: Time tracker sytem

2019-02-03 Thread Joakim Hove
I have created such a system - it is extremely basic, but it covers my needs. Feel free to take a look: https://github.com/joakim-hove/ptime Den søn. 3. feb. 2019, 15:26 skrev Rupam Hazra I want to create a time tracker system to track the employee work time and > data save to my

Re: Problem with get_absolute_url() in admin

2018-06-11 Thread Joakim Hove
example at the model Transaction urls.py > app_name = "trans" > url(r'(?P-/d+)$', views.func, name='account_trans'), > > def get_absolute_url(self): > return reverse("trans:account_trans", kwargs={"pk":self.pk}) > > > and you will be just fine h

Re: Problem with get_absolute_url() in admin

2018-06-10 Thread Joakim Hove
Thank you; that was indeed it! On Sunday, June 10, 2018 at 11:03:54 PM UTC+2, Melvyn Sopacua wrote: > > On zondag 10 juni 2018 22:54:10 CEST Joakim Hove wrote: > > > > It is the default hostname for django.contrib.sites > > > > > > < > https://g

Re: Problem with get_absolute_url() in admin

2018-06-10 Thread Joakim Hove
> > > > > It is the default hostname for django.contrib.sites > > > with SITE_ID = 1. > > OK - so that might be a smoking gun that I have not configured the "sites" model correctly? I have so far not

Re: Problem with get_absolute_url() in admin

2018-06-10 Thread Joakim Hove
Thank you for answering; but I do not agree fully with your answer: 1. It is the @permalink decorator which is removed from Django 2.x - not the get_abolute_url() method. 2. I agree using the reverse in the get_absolute_url() is nicer, and I have also tried that - but the ersults were the same

Problem with get_absolute_url() in admin

2018-06-10 Thread Joakim Hove
Hello, I have a model `Transaction` which can be viewed at the url: /transaction/view/$ID/ - if I just enter that url in the browser, or in template everything works. But when I have the following get_abolute_url() method: def get_absolute_url(self): return

Re: Managing a process from Django

2018-01-08 Thread Joakim Hove
Sounds to me that what you want is a `singleton` implemented in Python . The fact that Django is involved does not seem to be very relevant? 8. jan. 2018 22:43 skrev "Kasper Laudrup" : > Hi Antonis, > > On 2018-01-08 22:10, Antonis Christofides wrote: > >> Hello, >> >>

Re: FileField - not stored to disk when using mod_wsgi?

2017-11-28 Thread Joakim Hove
> /tmp is for temporary files, and its very possible Apache is cleaning up > those files created through its process when you terminate the server. > I agree that could have been the case - but do observe that I can not see any files/directories when Apache is running either. > I would create

Re: FileField - not stored to disk when using mod_wsgi?

2017-11-28 Thread Joakim Hove
> What's your view that's responsible for handling that model instanciation? > This of course quickly gets slightly unwieldy - but thanks for the interest. The view/endpoint accepting the POST is this: https://github.com/joakim-hove/fmu_storage/blob/master/ensemble/api/views.py#L56 The re

Re: FileField - not stored to disk when using mod_wsgi?

2017-11-28 Thread Joakim Hove
> I suspect this might be due to permissions, because on linux, /tmp is > owned by root and the apache service runs as user apache. > I agree that this has a certain smell of permissions, but I have at least tried to rule that out. In particular I have: 1. I have created the directory

FileField - not stored to disk when using mod_wsgi?

2017-11-27 Thread Joakim Hove
I ave django file upload application. I have a model looking like this: class BaseFile(Model): input_name = CharField( max_length = 132 ) content = FileField( upload_to = "%Y/%m/%d" ) upload_time = DateTimeField( auto_now_add=True ) owner_group = CharField( max_length = 32 ,

Add new primary key to model

2017-02-18 Thread Joakim Hove
Hello; I have a model with a CharField which is used as primary key: class MyModel( Model ): string_id = CharField("StringID" , primary_key = True ) I would now like to migrate this model to have a normal integer AutoField as primary key, and the string_id field should just be

Re: Migration failing?

2017-01-09 Thread Joakim Hove
:24 PM UTC+1, Joakim Hove wrote: > > Hello; > > I have a long running Django project; it started on version ~1.0. I have > upgraded regularly and I am now on 1.10. I have been using migrations with > Django since the became standard (1.8??) and generally been very happy with >

Migration failing?

2017-01-09 Thread Joakim Hove
Hello; I have a long running Django project; it started on version ~1.0. I have upgraded regularly and I am now on 1.10. I have been using migrations with Django since the became standard (1.8??) and generally been very happy with them. However today I am facing a problem with a migration

Re: Custmo field numpyarray - why does this even work?

2015-12-02 Thread Joakim Hove
Sorry; how do you get the nice code formatting - I thought it was through the use of ... blocks? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Custmo field numpyarray - why does this even work?

2015-12-02 Thread Joakim Hove
Hello; I want to create a custom model field for storing a numpy array. It has currently been so simple that I fear I am overrlooking something and getting a very false positive? class NumpyArrayField(BinaryField): dtype = numpy.float32 @classmethod def load_numpy_array(cls ,

Re: Time out when requesting element from Admin

2015-11-15 Thread Joakim Hove
> > > By default, Django’s admin uses a select-box interface () for > fields that are ForeignKey. Sometimes you don’t want to incur the > overhead of having to select all the related instances to display in the > drop-down. > Thanks a lot - that was what it was all about; Django tried to

Time out when requesting element from Admin

2015-11-13 Thread Joakim Hove
[ I realize what I am trying to do might be a prime example of abusing the admin. The real answer to my question might very well be: 'sorry - the admin is just not made for that', and that is fine. The main reason I am asking this is to learn more myself - and most importantly to rule out

Re: Postgis - as an afterthought?

2015-10-25 Thread Joakim Hove
Thank you! 25. okt. 2015 22:17 skrev "Thomas Lockhart" <tlockhart1...@gmail.com> følgende: > On 10/25/15 11:20 AM, Joakim Hove wrote: > >> Hello, I have started developing a Django application. Currently it is >> not ready for it, but in the future I see

Postgis - as an afterthought?

2015-10-25 Thread Joakim Hove
Hello, I have started developing a Django application. Currently it is not ready for it, but in the future I see that I would probably like to use the GeoDjango application/extension. Will I be able to add that a later stage, or do I need to design the application for that from the start? I am

Re: Locking / serializing access to one element in database

2015-10-24 Thread Joakim Hove
Hi Collin; thank you for your suggestion: [...] if the thread thinks that the object is new, it could try using > .save(force_insert=True). > I have read to read the force_insert documentation without understanding 100%. Assume threads t1 and t2 are racing to create the first element with

Re: Locking / serializing access to one element in database

2015-10-24 Thread Joakim Hove
> > > This only covers the case where the object with the given ID already > exists, doesn't it? > Yes - it must be so; thank you for pointing out. In my particular case I can get around it be pre creating an empty element, but that is not very nice - I will look at Collins suggestion. --

Re: Locking / serializing access to one element in database

2015-10-22 Thread Joakim Hove
Thank you; > I would suggest you use select_for_update() in a transaction. That seems to be just what I want! -- You received this message because you are subscribed to the Google Groups "Django users" group.

Locking / serializing access to one element in database

2015-10-21 Thread Joakim Hove
Hello; this arises in the context of a django application - but it might be a more general Python/Postgres/... problem. [ The django application is existing all right - but the problem I am describing here is yet only in my head; I am seeking advice on how to proceed. ] Assume I have a model

Re: Best practice when designing an api (with Django)

2015-08-31 Thread Joakim Hove
Thank you for an informative answer ;-) > > To get the author information for the authors of the book with ID=7. In > my > > view I have used: > > > > book = Book.objects.get( pk = 7 ) > > Where exactly did you use this? Can you post up a copy of the view? > This was currently only a

Best practice when designing an api (with Django)

2015-08-31 Thread Joakim Hove
Hello; [ This question might be more about general principles for API design than Django, but since Django is my tool of choice - and my context of understanding, I am posting it here.] I have been maintaining a small Django based website for some time. It is mostly based on conventional views

Re: Use 3rd party django package in my own project (PYTHONPATH)

2015-05-12 Thread Joakim Hove
, > Thanks for the reply. My problem is with this section. can you guide me > how to do this part in Ubuntu or Windows? > > >- > >Add the model_report directory to your Python path. > > Well - the main point is not adding the model_report directory to your Python path per se - the point

Re: Long usernames in auth_user?

2011-10-26 Thread Joakim Hove
OK; thanks I was afraid it was not entirely straightforward. On Oct 26, 10:52 pm, Donald Stufft wrote: > This is a known limitation and it's something that people _want_ to get fixed > (but just merely increasing the length isn't helpful, because soon someone > comes

Long usernames in auth_user?

2011-10-26 Thread Joakim Hove
Hello, I have been using a (in general quite popular I think ...) convention where the e-mail address has been used as username. I have solved this by asking the user for an e-mail address and a password, and then used the supplied e-mail address both as username and e-mail address when

Re: Implement su (i.e. substitute user) in Django

2011-05-23 Thread Joakim Hove
> Before the login call: > > user.backend = 'django.contrib.auth.backends.ModelBackend' Works like charm; thank you very much! Joakim [PS: For others reading this - the right hand side in the assignment above should indeed be a string literal, i.e. with the ''] -- You received this message

Re: Implement su (i.e. substitute user) in Django

2011-05-23 Thread Joakim Hove
Hmmm; thank you for answering. > from django.contrib.auth import login > > (in view) > login(request, user) This was indeed simple; however I can unfortunately not get it to work. The view returns a traceback starting with: AttributeError at /su/ 'User' object has no attribute

Implement su (i.e. substitute user) in Django

2011-05-23 Thread Joakim Hove
Hello, for my little site there are a couple of different types of users, and the view presented to the user differs depending on what type of user this is. For me (as a super user) - it would be very convenient If I could change identity and become another user, without having to log out and log

{{ STATIC_URL }} and RequestContext()

2011-04-25 Thread Joakim Hove
Hello, I have just started using the {{ STATIC_URL }} template tag to insert proper url's to static resources in my templates. To use this tag I need to create the context for rendering as RequestContext() instance, which takes the request as a parameter for the initialisation. In my code I have

Re: Form with two select boxes + javascript - selection gets destroyed???

2011-04-15 Thread Joakim Hove
Thank you to everyone answering - I will look into the Firebug approach the next time. But now I am 99.9% certain that > In an item is not in the original choices then it's invalid. This is the problem. In the cases where things failed the choice eventually sent from the client was not in the

Re: Form with two select boxes + javascript - selection gets destroyed???

2011-04-15 Thread Joakim Hove
Thank you for answering: On Apr 15, 8:47 pm, Shawn Milochik wrote: > Two things: > >     1. Does your form use a prefix? I don't really what you mean with prefix? > >     2. Please post a relevant excerpt of your request.POST data. (I mangled things a bit up in the

Form with two select boxes + javascript - selection gets destroyed???

2011-04-15 Thread Joakim Hove
Hello; I have a problem with a Django using JavaScript which I really don't understand. It must be said that this is my first time using JavaScript to beef up my forms - that might be source of the problem. The form presents the user with two drop down selectors and a submit button like:

Re: Authorization of static content

2011-02-23 Thread Joakim Hove
Thank you; that was a very good starting point - I will hopefully find a solution from this. Joakim On 23 Feb, 09:18, Mike Ramirez <gufym...@gmail.com> wrote: > On Wednesday, February 23, 2011 12:03:12 am Joakim Hove wrote: > > > Hello, > > Any suggestions of how

Authorization of static content

2011-02-23 Thread Joakim Hove
to combine django based authorization with serving of static content? I am the owner of the box in question and can modify the apache setup way beyond my competence. Regards - Joakim Hove -- You received this message because you are subscribed to the Google Groups "Django users" grou

Debug internalization

2010-12-03 Thread Joakim Hove
Hello, I am trying to use Djangos internalization framework - but struggling a bit ... In my settings.py file I have: LANGUAGES = ( ("en" , ugettext("English")), ("no" , ugettext("Norwegian")), ("sv" , ugettext("Swedish")), ("dk" , ugettext("Danish"))) LANGUAGE_CODE = 'en-us'

Django based issue tracker

2010-11-10 Thread Joakim Hove
Hello, I am setting up a bug/issue tracker - the project is quite small and I do not have complex needs. As I enjoy working with Django I was looking for a Django based solution. Can someone reccomend a Django based issue tracker? In case I fail finding something based on Django I think I will

Re: Embed the file system path to a template??

2010-10-25 Thread Joakim Hove
> However, if you just want to know the top-level template that started > the rendering process, you could obtain this by writing a custom > render_to_template() shortcut that inserts the loaded template name > into the context. Thank you, I considered writing this custom render_to_template()

Embed the file system path to a template??

2010-10-24 Thread Joakim Hove
Hello, to assist those responsible for the content of "my" site I would like to embed the file-system path to the template in the rendered template, so that when they find something they are dissatisfied with on a page they can do "View Source" and easily identify the correct template to update.

Re: Automatic form submission and CSRF??

2010-09-26 Thread Joakim Hove
Thanks a lot - that did the trick! Joakim On Sep 27, 1:58 am, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Mon, Sep 27, 2010 at 12:18 AM, Joakim Hove <joakim.h...@gmail.com> wrote: > > Hello, > > > I have a simple form which has method POST. When I vi

Automatic form submission and CSRF??

2010-09-26 Thread Joakim Hove
Hello, I have a simple form which has method POST. When I view the form in the browser and fill it normally everything works fine. However; the plan is to submit this form automagically from a client program - I have currently tried with the Python script: #!/usr/bin/python import urllib params

Re: Unicode challenged

2010-08-09 Thread Joakim Hove
Thank you for answering; > Are you sure that you get '?' on the file if you write it this way, or > it's just > the console/editor that you're using to see the file's contents that > cannot handle > the text's encoding? When it comes to Unicode and such I am not sure about anything. But you are

Unicode challenged

2010-08-09 Thread Joakim Hove
Hello, I am developing a Django application, and have some Unicode problems. I must admit I do not really understand if my problems are with Django or Python or ... ; but hopefully someone her can shed some light on the problem. Setup: 1. The application is developed for the Scandinavian

Re: Queryset filtering based on user supplied callable??

2010-06-05 Thread Joakim Hove
> > filtering on the database is normally much, much faster, so be careful > > with the python-style filtering... > > > Johan > > > On Jun 5, 12:32 pm, Joakim Hove <joakim.h...@gmail.com> wrote: > > > > Hello, > > > > I have a query lis

Is the DoesNotExist exception the only way to check if an object exists?

2010-04-09 Thread Joakim Hove
Hello, I have something I would presume was a very common pattern. I have a view which gets a primary-key (from the user) as second argument: def my_view( request , pk ): obj = Class.objects.get( pk = pk) # Do something with obj and return a suitable response. Now, of course I would

Re: Conflict between django csrf and credit card clearing?

2010-03-17 Thread Joakim Hove
Hello Peter, thank you very much for your answer. The exception did the job :-) Joakim -- 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

Conflict between django csrf and credit card clearing?

2010-03-17 Thread Joakim Hove
Hello, I am using Django to write a sort of web-shop site. For reading credit card information, and reserving the money we use a third part company called DIBS. The flow of the application is roughly like this: 1. The customer peeks around at our site and selects product(s) to buy. 2. When the

Re: tutorial --> deploy snag

2010-03-10 Thread Joakim Hove
> What have I left out of this Virtualhost configuration? Warning: This is a the very limit of my understanding of Django; but I have the following section in my apache configuration file; I see you have already aliased media to point somewhere else. Alias /media/

Re: tutorial --> deploy snag

2010-03-09 Thread Joakim Hove
Hello, I __think__ you must add the path industtromatic_com in your wsgi settings file, > The line > os.environ['DJANGO_SETTINGS_MODULE'] = 'industromatic_com.settings' > refers to a dir I made, /home/john/WEBprojects/industromatic_com, that I > copied the > contents of mysite into.  mysite as

Re: Passing (validated) form content to the next view.

2010-03-09 Thread Joakim Hove
Sorry; my attempts at interlacing ASCII art in the code did not exactly aid readability. Here is the code section again, simplified: -- def InputForm( forms.Form ): name = forms.CharField( max_length = 100)

Passing (validated) form content to the next view.

2010-03-09 Thread Joakim Hove
Hello, I am implementing a small system which (simplified) should be like this: 1. The user enters some information in a form. 2. The form content is validated. 3. The user is redirected to a new page (pure HTML / form ??) summarizing the information in the first form, and given the choices:

Re: Unicode and localized characters in view

2010-03-04 Thread Joakim Hove
ot;å"), but come to think of it I might have forgotten to declare endcoding of the source file which is actually running when it crashes? Joakim On 4 Mar, 08:48, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Mar 4, 6:45 am, Joakim Hove <joakim.h...@gmail.com> wrote: >

Unicode and localized characters in view

2010-03-03 Thread Joakim Hove
About every once a year I am forced out on the internet to read about "encodings and such"; while reading about it all makes sense, but when actually trying to get things to work I always go through a period of swearing and frustration - I never really get it :-( Now, in a Django view I have a

Re: Is the user member of a certain group

2010-02-22 Thread Joakim Hove
Thank you both; it works! Joakim On Feb 23, 12:27 am, Andy McKay <a...@clearwind.ca> wrote: > On 2010-02-22, at 2:56 PM, Joakim Hove wrote: > > > Any tip on how to write the "user_is_member_of_admin_group()" > > function? > > You can access the groups v

Is the user member of a certain group

2010-02-22 Thread Joakim Hove
Hello, using the django auth framework I have created two groups called "admin" and "normal" and all the users are members of either of these groups. Now when a user is authenticated I would like to render different views depending on which group the user is member of, something like this: if

When does syncd create new tables

2010-02-04 Thread Joakim Hove
Hello, I am developing my models. I have quite a lot of legacy data which I have to take into account, so I try hard to understand the logic of syncdb. My current situation is as follows: 1. I had written the model defintion of several models in Python and created the corresponding tables with

Re: Visual appearance (i.e. templates) for admin site

2010-01-31 Thread Joakim Hove
Thank you - that seems like a very reasonable explanation. When things worked previously I was using the built in dev-server, whereas I am now using Apache + WSGI. On Jan 31, 9:07 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Jan 31, 7:32 pm, Joakim Hove <joakim.h...@gmai

Visual appearance (i.e. templates) for admin site

2010-01-31 Thread Joakim Hove
Hello, I am starting to get up to "speed" with Django - and I really like it! Now I have a question about the visual appearance of the admin site. When I first tried the admin site a couple of months ago it looked "very nice"; since then the code has been rewritten from scratch and I don't have

Re: Showng the primary key in admin view

2009-09-02 Thread Joakim Hove
Hello, thanks for the tip: > It is usually not a good idea to give business meaning to a primary key > in a relational database. The literature is full of reasons against it. I had a nagging feeling this might be the case. Do you have any links to "Best practice" om these questions - I am a

Re: Showng the primary key in admin view

2009-09-02 Thread Joakim Hove
> and if you look up-screen at the "breadcrumbs" you should see ... > > Home >> Customers >> 2: George > > Does that do it? Well - I know (and thanks for the info) - but I would really like to get it even clearer. Joakim --~--~-~--~~~---~--~~ You received this

Re: Showng the primary key in admin view

2009-09-02 Thread Joakim Hove
Thank you both for answering; however I am afraid we are misunderstanding eachother here. I have created a admin.py file and registered my CustomerClass with the admin interface. That works, and I can select the CustomerClass when logged in to the admin interface. Let us say I have created three

Showng the primary key in admin view

2009-09-01 Thread Joakim Hove
Hello, I have a (simplified) model like this class Customer(models.Model): name = models.CharfField(max_length = 100) date= models.DateTimeField() email = models.EmailField() When showing this in the (100 % default) admin view I get up nice entry boxes for the

The admin interface - this used to work?

2009-08-18 Thread Joakim Hove
Hello, I am slowly building up a site with django - it feels very good. About two months ago I tried the admin interface; with nearly zero effort (basically uncomment a couple of lines from the default files) I got a very nice and functional interface up and running - great! Now I have done

Re: User logged in by default??

2009-06-15 Thread Joakim Hove
Hello, thank you for answering. > Did you log yourself in in the admin without thinking about it?  That's > usually how I end up logged in without realizing it. I had thought of that - and did a fresh start of the browser without any success. But, prompted by your suggestion I continued to

User logged in by default??

2009-06-15 Thread Joakim Hove
Hello, I have just started experimenting with the Django user authentication system, I am currently only running with the Python testserver (if that matters). In my url.py file I have the following view mapping: ... (r'^agent/$' , 'Sleipner.model.views.agent'), . This view looks like

Re: Primary key defined by two foreignkeys?

2009-06-07 Thread Joakim Hove
> Use unique_together:http://docs.djangoproject.com/en/dev/ref/models/options/ > > class Table3(models.Model): >     ... >     class Meta: >         unique_together = ("table1_key", "table2_key") Beautiful - thank you very much :-) Joakim --~--~-~--~~~---~--~~

Primary key defined by two foreignkeys?

2009-06-07 Thread Joakim Hove
the two foreign keys in Table3 (in combination) to be a unique id, i.e. it should be illegal to have several entries in Table3 pointing to the same combination of Table1 and Table2 keys. This should be doable?! Best Regards Joakim Hove --~--~-~--~~~---~--~~ You

What is in your opinion the best way to render a form

2009-05-26 Thread Joakim Hove
Hello, I have used ModelForm to create a form for a model class. In the template rendering the form I just have: form.as_table that is very neat, compared to writing out all the form elements in the template manually, but it is of course not as flexible. What is the common thing to do?

Setting the label on selection widget

2009-05-25 Thread Joakim Hove
e Products class to manipulate this rendering; is it possible to the rendering to use another function (I am currently just rendering the form with xxx.as_table()). Best Regards Joakim Hove --~--~-~--~~~---~--~~ You received this message because you are

Re: Rendering a form based on partly determined model state

2009-05-21 Thread Joakim Hove
I found Collin's Blog entry, and that looked very promising. Thanks a lot. Joakim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Rendering a form based on partly determined model state

2009-05-21 Thread Joakim Hove
vailable product to only those available in the customers country?! Any tips greatly appreciated. Regards Joakim Hove --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this