Wow, very cool, I didn't know that James! Again, thank you!
I was trying
obj.portfolio = portid and then
obj.portfolio.id = portid < that was really bad according to django :-)
J
On 5/16/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
>
> On 5/16/07, John M <[EMAIL PROTECTED]> wrote:
> > p
On 5/16/07, John M <[EMAIL PROTECTED]> wrote:
> portfolio = Portfolio.objects.get(pk=portid)
>
> obj.portfolio = portfolio
Somewhat undocumented, but you should be able to do
obj.portfolio_id = portid
Instead of doing the lookup and assigning the object, if you're
concerned abou
I see where this has already been addressed in ticket #2457
http://code.djangoproject.com/ticket/2457
Apparently it's a bug in the version of sqlite that's bundled with the
Windows installer (3.3.4).
The command line version of sqlite that I'm running is much more
recent, which explains the dif
I GOT IT I GOT IT
I finally, after many a late night, and with a lot of help from
everyone, got it working, I'm so happy, it's a huge step for my
project!
After I used the obj = form.save(commit=False) option, I came up with
this:
formdata = {}
portfolio = Portfolio.objects.get(pk=port
> Might be worthwhile having a look at the SQL Django is generating. From
> the shell prompt import db.connection and have a look at
> db.connection.queries after running the query.
>
> I wouldn't be too surprised to discover this is a bug caused by using a
> left outer join here, in which case it
I'm starting off with everything on 1 server.
As for traffic at the start I'm looking at 2000-3000 hits/10K - 20K
page views per day.
Maybe I should have asked this instead :
If you used one of www.slicehost.com VPS's (say the 512MB ram one)..
from any experience you may have on similar setups, r
Thanks... I'll check out the article.
As for what kinda of data i'm serving, the site would be pretty
dynamic and as for the level of caching, i'm not sure as yet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
On Wed, 2007-05-16 at 20:53 -0500, Ben Jones wrote:
> Thanks for the help, Russ.
>
>
> > > For test data, I have entered 3 categories and 3 pieces of content
> > > (one in each of the 3 categories).
> >
> > You have 3 categories and 3 content objects, but what is in the m2m
> > table between the
On 5/16/07, Ray Dookie <[EMAIL PROTECTED]> wrote:
> I'm interested to know how much load can a django box say with 512MB
> ram handle.
The biggest question to ask here is what level of traffic you're
expecting, and how quickly you expect that traffic to go; there are
lots of things you can do to
Thanks for the help, Russ.
> > For test data, I have entered 3 categories and 3 pieces of content
> > (one in each of the 3 categories).
>
> You have 3 categories and 3 content objects, but what is in the m2m
> table between them? What is the matrix of category/content
> relationships?
It's the
Ray Dookie wrote:
> Guys guide me a bit here..
> I'm interested to know how much load can a django box say with 512MB
> ram handle.
> I'm brining out a site soon, and was planning on taking either the
> 256mb or 512mb (VPS) setup that www.slicehost.com offers.
>
I'm certainly not a guru, but one
Guys guide me a bit here..
I'm interested to know how much load can a django box say with 512MB
ram handle.
I'm brining out a site soon, and was planning on taking either the
256mb or 512mb (VPS) setup that www.slicehost.com offers.
what i was wondering, is with a box with those specs (on average
On 5/17/07, Ben Jones <[EMAIL PROTECTED]> wrote:
>
> I have 2 models that I'm using "for training": Content and Category
> with a ManyToMany field in Content to relate them.
>
> For test data, I have entered 3 categories and 3 pieces of content
> (one in each of the 3 categories).
You have 3 cate
Hi Malcolm,
Thanks for the reply. This issue is definitely seems to responsible
for a good chunk of the time it takes for django to return a response
in my app, about 70 ms to be precise.
Basically, I'm rendering a page which has a list of Template'd
objects, each of which inherits/extends from
On Wed, May 16, 2007 at 08:38:01PM +0300, Matti Haavikko wrote:
> I have the following scenario:
> - I have retrieved an object from the database
> - I want to create another object based on this one, with minor modifications.
This seems like a pretty common use case, doesn't it?
Maybe something
On Wed, 2007-05-16 at 23:29 +0200, Andreas Ahlenstorf wrote:
> Hi,
>
> I've some models where the strings returned by __str__() are unicode
> strings
For a start, you can *never* return anything other than a bytestring
from the __str__ method. You may think you're trying to return unicode,
bu
On Wed, 2007-05-16 at 21:27 +, Chris Slowe wrote:
> I'm working on a project which is making rather copious use of extends
> blocks, and I've noticed that every time an extends block is executed,
> django seems to hit the file system, reads the file, and compiles the
> parent template. This b
On 5/16/07, John Matthew <[EMAIL PROTECTED]> wrote:
> So, assuming my commit=false works, i should be able to say something like:
>
> form.clean_data['fk_id'] = fkobjid
No; you want your form to not have any field at all for the foreign
key, because you want the form to completely ignore the fact
On 5/16/07, Andreas Ahlenstorf <[EMAIL PROTECTED]> wrote:
> I've some models where the strings returned by __str__() are unicode
> strings and contain non-ascii characters, especially umlauts. With a
> recent Django version, this causes UnicodeEncodeErrors all over the
> place. Could anybody give
Thanks a lot for sharing... This really helped.
omat
On 16 Mayıs, 18:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> OK. My app is called "karma". The model looks like this:
>
> from django.db import models
> from django.http import Http404, HttpResponse
> from django.contrib.contenttypes
I also have to add that this forum is the BEST! Responses are so
quick and give the greatest info I've found so far.
Thanks to everyone who's replied.
John
On May 16, 1:48 pm, "John Matthew" <[EMAIL PROTECTED]> wrote:
> WOW, I hadn't seen that first one, and the second one is the 'standard' fo
Hi,
I've some models where the strings returned by __str__() are unicode
strings and contain non-ascii characters, especially umlauts. With a
recent Django version, this causes UnicodeEncodeErrors all over the
place. Could anybody give me a hint on what I have to do to work
around this is
I'm working on a project which is making rather copious use of extends
blocks, and I've noticed that every time an extends block is executed,
django seems to hit the file system, reads the file, and compiles the
parent template. This behavior seems to be independent of whether
that particular par
First, since this is my first post to this group, let me say that
Django is phenomenal. So serious. In fact, "phenomenal" doesn't even
begin to scratch the surface . . . using that phrase to describe it is
an insult! Many, many thanks to everyone who has contributed!
On to business . . .
I have
On Wed, 2007-05-16 at 09:42 -0700, [EMAIL PROTECTED] wrote:
> *sigh* posted to quickly. The solution was to define get_internal_type
> to return TextField.__name__
>
> On May 16, 12:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > Turns out I decided to go with the Field class since I'll
On Wed, 2007-05-16 at 20:38 +0300, Matti Haavikko wrote:
> Hi,
>
> I have the following scenario:
> - I have retrieved an object from the database
> - I want to create another object based on this one, with minor modifications.
>
> What I'm doing is:
> - Get the existing object
> - Set its "id"
WOW, I hadn't seen that first one, and the second one is the 'standard' for
most newforms replies, great work!
Thanks again Michael.
John
On 5/16/07, Michael Trier <[EMAIL PROTECTED]> wrote:
>
>
> These two posts gave me everything I needed to tackle these type of
> issues:
>
> http://weblog.big
James,
Thanks again so much.
I think i tried the commit=False bit but it still didn't like my FK being
blank for some reason. I'll have to look through the django source and
double check.
So, assuming my commit=false works, i should be able to say something like:
form.clean_data['fk_id'] = fko
The simplest way I can think of is to override the model .save()
method and enforce your constraint there before calling the parent
class save method.
def save(self,*args,**kwargs):
if bool(self.arts_id) | bool(self.pics_id):
super(Post,self).save(*args,**kwargs)
else:
ra
Here's the final code that seems to be working:
from django.core import validators
from django.utils.translation import gettext
from django.db.models.fields import TextField
import cPickle
class PickleField(TextField):
def __init__(self, *args, **kwargs):
kwargs['editable'] = False
Tex
The main difference between traditionnal VPS hosting and Amazon EC2 hosting
is that EC2 is hourly based. If you can manage to load instance based on the
charge, you have full control on your cost. I can imagine that is not
accurate for small hosting plan. But I follow what telco, for example, are
On 5/17/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Already done, though under-documented.
> > http://www.djangoproject.com/documentation/templates/#django-contrib-markup
>
> Ah, here, too:
> http://www.djangoproject.com/documentation/add
On 5/16/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> Already done, though under-documented.
> http://www.djangoproject.com/documentation/templates/#django-contrib-markup
Ah, here, too:
http://www.djangoproject.com/documentation/add_ons/#markup
--~--~-~--~~~---~--~---
On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
...
> I am using middleware as described in the docs. I don't see how to use
> flatpages as a view in the docs. How do you do that?
As the last entry in your urlpatterns, include this:
(r'^(.*)/$','django.contrib.flatpages.views.flatpage'
I love Rimuhosting. They've been great.
I'm also using EC2, but in a similar place as Frederic. There are a
lot of issues to work through, but they're actually very good issues
to address early on.
Michael
On 5/16/07, Frédéric Sidler <[EMAIL PROTECTED]> wrote:
> I do use Amazon EC2 for our pr
I do use Amazon EC2 for our project and I plan to go very big
http://media.djangobook.com/content/chapter21/scaling-5.png
For the moment, i have everything running on one instance
http://media.djangobook.com/content/chapter21/scaling-1.png
But that is just the start, the problems are
- host n
These two posts gave me everything I needed to tackle these type of issues:
http://weblog.bignerdranch.com/?p=31
http://code.pui.ch/2007/01/07/using-djangos-newforms/
Michael
On 5/16/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, John M <[EMAIL PROTECTED]> wrote:
> > Thanks for i
On 5/17/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
> > Can anyone here provide pointers on how to get flatpages to work
> > properly under Apache and mod_python?
>
> From your custom 404, you'll want to return
> django.http.HttpResponseNo
On 5/16/07, John M <[EMAIL PROTECTED]> wrote:
> Thanks for info, but what happens when the form.save() is called,
> since the FK isn't part of the clean_data, it will fail no?
Form.save accepts a 'commit' keyword argument, which default to True;
when it's True the form will try to actually save t
On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
> Can anyone here provide pointers on how to get flatpages to work
> properly under Apache and mod_python?
>From your custom 404, you'll want to return
django.http.HttpResponseNotFound rather that HttpResponse.
Also, are you using flatpage m
Russ,
Thanks for info, but what happens when the form.save() is called,
since the FK isn't part of the clean_data, it will fail no?
I think i've gotten to the point where I can get it off the form, but
now how do I make it so I can update the FK in code on the POST?
Thanks everyone for continui
On 5/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I did some digging around and found this site:
> http://code.google.com/p/openbookplatform/
>
> If that the same thing? Can you point me somewhere else.
It's not the same codebase, but has similar goals. The DjBook site
code isn't open
Hi,
I have the following scenario:
- I have retrieved an object from the database
- I want to create another object based on this one, with minor modifications.
What I'm doing is:
- Get the existing object
- Set its "id" to None
- Modify any other fields and relations I need to
- Save the object
Hello,
I am using Django 0.96 and I am currently having problems getting
flatpages middleware to work under Apache with mod_python. I am pretty
sure this is mod_python related since flatpages work fine using the
development server.
I have found at least one thread the mentions this problem, it's
Well, it turns out this would've been possible even without #4144, but
now that it's in CVS, I wrote up a wiki article[1] on dynamic models,
which should give you some clues on how to dynamically generate a
model. For this case, it would suffice to use the generic approach
listed there, created th
> Hi,
>
> I would like to now if it's possible to make a Python script (one
> argument a text file name)
> witch will upload a post on a basic blog (asking for title and post
> itself, with options: image, template language).
>
> If so, what should I study ?
>
> Thanks.
If from a remote box, you
*sigh* posted to quickly. The solution was to define get_internal_type
to return TextField.__name__
On May 16, 12:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Turns out I decided to go with the Field class since I'll be needing
> them in a few different models. The issue I'm running in
Turns out I decided to go with the Field class since I'll be needing
them in a few different models. The issue I'm running into now is that
the new field name isn't defined in the data_types list (from db/
backends/*/creation.py).
Obviously I can just add an entry for the backend I'm using, but t
Hi,
I would like to now if it's possible to make a Python script (one
argument a text file name)
witch will upload a post on a basic blog (asking for title and post
itself, with options: image, template language).
If so, what should I study ?
Thanks.
--~--~-~--~~~-
On 15/05/07, Kostadin Cholakov <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> We are using the development server only! Can you give me some
> reference for the necessary changes in the code? Thanks!
>
> On 5/15/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, 2007-05-15 at 19:14 +, Ko
OK. My app is called "karma". The model looks like this:
from django.db import models
from django.http import Http404, HttpResponse
from django.contrib.contenttypes.models import ContentType
from django.contrib.auth.models import User
import datetime
class KarmaScoreManager(models.Manager):
Just for the record:
** settings.py in $project_path:
# Maintenance Mode Switch
MAINTENANCE = True
# Login paths
LOGIN_REDIRECT_URL = '/admin/'
LOGIN_URL = '/admin/'
LOGOUT_URL = '/admin/logout/'
# This will be shown to unauthorised users when the site is in maintenance
mode
MAINTENANCE_PATH
I am interested in the code / project behind the DjangoBook so I can
do something similar.
I did some digging around and found this site:
http://code.google.com/p/openbookplatform/
If that the same thing? Can you point me somewhere else.
I am a newbie...
Thanks
Lance
--~--~-~--~--
Thanks James.
On May 16, 12:13 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 5/16/07, Renato Lipi <[EMAIL PROTECTED]> wrote:
>
> > I am using FORLOOP built-in tag. There is a time that I need to restart this
> > count, setting forloop.counter=0. How can I do something like that?
>
> The pla
On 5/16/07, Renato Lipi <[EMAIL PROTECTED]> wrote:
> I am using FORLOOP built-in tag. There is a time that I need to restart this
> count, setting forloop.counter=0. How can I do something like that?
The plain template language (deliberately) cannot perform variable
assignments; custom template t
RajeshD wrote:
>
>> search_fields = ['question', 'choice_choice']
>>
>> Where choice_choice is supposed to be pointing to the choice field in
>> the choice model, but something is not working with that. I am sure
>> that I am missing something very easy and I was wondering if someone
>> could po
It'd be helpful if you supplied us with a few more details:
1. What is MEDIA_ROOT and MEDIA_URL set to?
2. What is the Picture object's ImageField;s "upload_to" attribute
set to?
3. Did you define your own "get_absolute_path(self)" method in the
Picture model?
4. What version of Django are yo
Thank you both for your help. I really should have thought of the
proxy attribute myself. I use Property objects all over the place
already. I'll probably go with that solution since I'm a bit time
crunched and can do that one quickly. Though I think the Field class
would be the 'better' solution.
Hello there,
I have two models, Network and Address and have setup a filter (in the
admin interface, which I like) for Address, to show only free
addresses which works. I also have a filter on network, which works,
however this is not really dynamic, because if I have 2 networks
10.0.0.0/8 and 10
The current url for the satchmo project is
http://www.satchmoproject.com
We have basic integration with paypal and are working on more as we speak.
-Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django use
Ok then...
So, actually I'm "plotting" tables with only 1 row and 15 columns,
table below table. Often, when I change the subject I working with,
there's a row that has less then 15 columns. Let's say the last line
(table) had 2 columns. If the next line is in the "for" that created
last line, th
Easiest way would be to just set up a redirect from your custom 404
page.
But I wouldn't do it at all... if someone hits a 404, they deserve to
be told they've gotten off track, and they deserve your help in
getting back on track (via search box, site map, whatever).
On May 16, 7:49 am, Mary <[
For reference purposes:
http://jtauber.com/blog/2006/11/25/incompatible_sqlite_in_os_x_and_python
On May 15, 9:17 pm, Panos Laganakos <[EMAIL PROTECTED]> wrote:
> I haven't installed any pysqlite versions since I moved to 2.5 (from
> OS X's default 2.3) Python, as sqlite3 is included in the lib
On Wed, 2007-05-16 at 10:57 -0300, Renato Lipi wrote:
> Hi there,
>
> I am using FORLOOP built-in tag. There is a time that I need to
> restart this count, setting forloop.counter=0. How can I do something
> like that?
You can't do this with the existing "for" tag. It crosses the line into
tryin
I am trying to avoid coupling with the model of the content so I am
trying it with ContentTypes. Though, yours can be more practical to
start with.
On 16 Mayıs, 16:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I did... well, sorta semi-standalone. Much like the comments system,
> there'
Hi there,
I am using FORLOOP built-in tag. There is a time that I need to restart this
count, setting forloop.counter=0. How can I do something like that?
Thanks.
Renato.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
I did... well, sorta semi-standalone. Much like the comments system,
there's a couple of functions that have to be put in the model of the
thing you're doing karma voting on... at least the way I did it.
Wasn't too tough.
On May 16, 6:31 am, omat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Neat design
Thank you Grigoriy, It's given me some new ideas.
John
On 5/16/07, Grigoriy Petukhov <[EMAIL PROTECTED]> wrote:
>
>
> John M wrote:
> > I have checked the forum, and still can't believe I can't find a
> > solution to what I perceive as a simple problem:
> >
> > I have two models:
> >
> > Custome
On 5/16/07, Nathan Harmston <[EMAIL PROTECTED]> wrote:
...
> So far I am thinking of storing the whole shopping cart as a
> dictionary in session where it is simply
>
> { product_id:amount },
Assuming low site concurrrency, no. I don't know why you'd want to
take that approach as opposed to havi
On 5/16/07, Christian M Hoeppner <[EMAIL PROTECTED]> wrote:
...
> I wonder... There isn't a way in a middleware to access some name path from
> the urlconf, is there? That way I wouldn't have to set those settings, by
> letting the admin-path bypass the maintenance middleware.
Not as far as I can
hey alessandro,
check out the catch tag over at djangosnippets.com:
http://www.djangosnippets.org/snippets/10/
i use it for something similar and works quite well. thanks limodou!
laters,
steve
On May 9, 3:51 pm, "va:patrick.kranzlmueller"
<[EMAIL PROTECTED]> wrote:
> just a guess.
>
> for
Don't know if you know about this, but there's already a Portugal
Portuguese translation, contributed by Nuno Mariz:
http://code.djangoproject.com/ticket/3745
I guess it's probably be a good start point to make a Brazil
Portuguese translation.
Filipe
On May 15, 5:53 pm, "Alexandre Klostermann"
<
Dear All ;
I would like to do the following and i need your help:
I have created my application using django framework and i need that
is there is any 404 error so the application will be directed to home
page directly
How can i do that ??
Thank you in advance ;
mary Adel
--~--~-~--~-
Hello,
> However, that doesn't mean that Django trunk is unstable - it just
> means you need to be careful to check the changelogs before you do an
> SVN update, because an update could have consequences that require
> some fixes to your application. If you keep a close eye on the
> changesets, a
This is great news for me!
I had a look at this branch, and this is surely the right way to
develop geographical applications.
On 16 Mayıs, 14:51, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
> On 5/16/07, omat <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi all,
>
> > I am developing an applicati
django support GIS??
On 5/16/07, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, omat <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >
> > I am developing an application with django that requires some
> > geographical data, both some points and tracks. I have some questions
> > regarding
On 5/16/07, omat <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am developing an application with django that requires some
> geographical data, both some points and tracks. I have some questions
> regarding the model design.
>
> I know Postgres and MySQL have geographic extensions. I have used
> My
Hello,
It seems that you are looking for this:
http://satchmo.python-hosting.com/
There is also a google group for that project.
I hope that will help you.
Regards,
On May 16, 1:16 pm, "Nathan Harmston" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I m currently building an e-commerce site and I was won
omat wrote:
> Add a middleware class like this:
oh, duh!!
thanks a lot :-)
- bram
--~--~-~--~~~---~--~~
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
I'm getting the same problem as well. Very frustrating, can't find a
work around.. essentially makes django useless at this point.
Malcolm Tredinnick wrote:
> 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.:
> >
> >
> > Instea
Hi,
Neat design of the karma scoring application in the comments framework
of the contributed application is quite appealing. But it is tided to
the comments application.
I am trying to isolate it and make a more generic karma application
for any content (photos, blog entries, etc.) contributed
Hi,
I have a model Post, which has the following structure:
class Post(models.Model):
body = models.TextField()
arts = models.ForeignKey(Article, blank=True, null=True)
pics = models.ForeignKey(Gallery, blank=True, null=True)
A post can be made from an article or a gallery or both.
Hi,
I m currently building an e-commerce site and I was wondering if there
are any shopping cart apps out there for django that I can have a look
at and work through. I am trying to build one that can integrate with
paypal but any ideas would be cool.
So far I am thinking of storing the whole sh
Add a middleware class like this:
from django.http import HttpResponseForbidden
from django.template import loader, RequestContext
class Http403(Exception):
pass
class ForbiddenMiddleware:
def process_exception(self, request, exception):
if not isinstance(exception, Http403):
hey everyone,
looking at the source code this isn't immediately clear to me... What if
I wanted to make a HttpPermissionError or HttpThisPageIsBeingUpdated or
... exception that has it's own template?
This way, from anywhere in the code you could throw your very own
exception...
Am I correct
I'm using a dedicated virtual at mediatemple. They're working on
Django-containers, which would be a sweet feature if the ETA was anywhen
soon.
It's been easy to get django rolling, since you get a CentOS installation (a
free clone of RedHat Enterprise). Yum is not installed by default, but a
> You're more likely to get working code if all the requirements are stated.
> :)
Yeah, you're right, Jeremy. Thank you a lot for your help.
I wonder... There isn't a way in a middleware to access some name path from
the urlconf, is there? That way I wouldn't have to set those settings, by
le
johnny wrote:
> Doing the following:
>
> from os import environ
> environ['DJANGO_SETTINGS_MODULE'] = 'settings'
> from settings import *
>
> Only works at the parent folder level. What if you have script in sub
> folder level? I tried it at sub folder level and got error:
>
> from os import
I didn't go with PostGIS because i only needed basic functionality and
approximative data.
In my models, i have :
lat = models.FloatField(max_digits=7, decimal_places=4, blank=True,
null=True)
lng = models.FloatField(max_digits=7, decimal_places=4, blank=True,
null=True)
I'm using it together wi
Hello,
I cloned admin media and templates of django:
cp -a python-django/django/contrib/admin/media /opt/cedecka/app/
cp -a python-django/django/contrib/admin/templates \ /opt/cedecka/app/admin/
I customized a little templates (mainly title, ...).
The applications is started:
./manage.py runser
Hi all,
I am developing an application with django that requires some
geographical data, both some points and tracks. I have some questions
regarding the model design.
I know Postgres and MySQL have geographic extensions. I have used
MySQL's in the past but now I am mostly interested in Postgres
On 16 mai, 08:25, Margaret <[EMAIL PROTECTED]> wrote:
> Undefined from import:objects
> may you need to config your path.
I guess yes, but how ?
These directories are already in my path: django and my_project.
What else ?
Olive.
--~--~-~--~~~---~--~~
You recei
John M wrote:
> I have checked the forum, and still can't believe I can't find a
> solution to what I perceive as a simple problem:
>
> I have two models:
>
> Customer
>Name
>phone
>
> Order
>Customer (foreign key to Customer)
>date
>product
>
> When I put up the form for o
93 matches
Mail list logo