What are you trying to do? If your development appserver is conflicting with
a locally installed apache then why not just use a different port?
python manage.py runserver 8001
2009/2/4 knight
>
> Hi,
>
> My question is:
>
> Is there a way to change my default app url in
On Wednesday 04 Feb 2009 1:18:53 pm knight wrote:
> I want to override admin template: index.html.
> I have found the template but not the view that renders it.
> Maybe someone know how django rendering index.html template and where
> I can find the view?
does this help?
Hi,
I want to override admin template: index.html.
I have found the template but not the view that renders it.
Maybe someone know how django rendering index.html template and where
I can find the view?
Thanks,
Arshavski Alexander.
--~--~-~--~~~---~--~~
You
Hi,
My question is:
Is there a way to change my default app url in development server
from http://localhost:8000 to http://localhost:8000/peergw.
If it's a problem, maybe someone have a good reference for configuring
apache server on MAC.
Regards,
Arshavski Alexander.
django is probably the most updated doc and program I've used. If you
watch the community section for feeds of all the blogs and postings,
you'll find tons of great information.
This group is your second best place to be. There are tons of django
sites, etc.
I think if you poke around, you'll
im really surprised by:
1. the attitude of "hey, i got my what i wanted, i dont mind some
abuse along with it." what? honestly? i agree with the "be helpful, be
nice, or be quiet" and dont think its fair to bend the rules.
2. tap-dancing around Magus- because he's the most helpful
if Magus- is,
On 2月4日, 下午12时03分, Malcolm Tredinnick
wrote:
> On Tue, 2009-02-03 at 19:47 -0800, Eric Abrahamsen wrote:
>
> > On Feb 4, 11:25 am, Malcolm Tredinnick
> > wrote:
> > > On Tue, 2009-02-03 at 19:10 -0800, Eric Abrahamsen wrote:
> > > > Hi
Thanks for the prompt reply. I am working from 1.0.2, and, yes, I
tried altering the urlpattern to match the online docs after the
urlpattern I uncommented didn't work. I had been working through The
Definitive Guide to Django, but it's based off 0.96, so I hit a snag
when I got to the admin
On Wed, Feb 4, 2009 at 1:22 AM, andrewz wrote:
>
> I'm a Django newbie, as the subject suggests, and couldn't find this
> problem addressed in this group's archives.
>
> I've done the following, as per the web tutorial:
> • Add "django.contrib.admin" to INSTALLED_APPS
I'm a Django newbie, as the subject suggests, and couldn't find this
problem addressed in this group's archives.
I've done the following, as per the web tutorial:
• Add "django.contrib.admin" to INSTALLED_APPS setting.
• Run python manage.py syncdb.
• Edit mysite/urls.py file and uncomment the
On Wednesday 04 Feb 2009 11:31:28 am Russell Keith-Magee wrote:
> > there was a long flame war about this on the developer list some time
> > back. The general consensus is that Magus- is perhaps the most valuable
> > person on the channel and most of us do not mind being 'insulted' as long
> >
On Wed, Feb 4, 2009 at 2:16 PM, Kenneth Gonsalves
wrote:
>
> On Wednesday 04 Feb 2009 1:57:46 am sierramtns wrote:
>> there are certainly other people acting as such in varying degrees,
>> and i only cite Magus- because of the twitter feed and django log
>> entry being
On Feb 4, 12:37 am, Israel Dacanay Canasa wrote:
> Yup, just don't mind getting insulted. Since Magus is helping a lot of
> people, the least others can do in return is to make him feel good.
>
> ^:)^ to Magus
>
> On Wed, Feb 4, 2009 at 1:16 PM, Kenneth Gonsalves
>
Yup, just don't mind getting insulted. Since Magus is helping a lot of
people, the least others can do in return is to make him feel good.
^:)^ to Magus
On Wed, Feb 4, 2009 at 1:16 PM, Kenneth Gonsalves wrote:
>
> On Wednesday 04 Feb 2009 1:57:46 am sierramtns wrote:
>
On Wednesday 04 Feb 2009 1:57:46 am sierramtns wrote:
> there are certainly other people acting as such in varying degrees,
> and i only cite Magus- because of the twitter feed and django log
> entry being available to exemplify this pattern of behavior (god help
> me if ive started a flamewar.)
Can anyone help with this - I found some code in the QuerySet API
reference
# Hits the database.
e = Entry.objects.select_related().get(id=5)
# Doesn't hit the database, because e.blog has been prepopulated
# in the previous query.
b = e.blog
As opposed to getting a single id, I couldn't find
Oops... yeah Brian that i forgot to make it as a foriegn key to the
user table and that might be surprised without making foriegn key i
did not get any error even though my settings.DEBUG is true. but now i
made user field in MemberProfile but the same problem my form data is
not saving to
On Tue, 2009-02-03 at 19:47 -0800, Eric Abrahamsen wrote:
>
>
> On Feb 4, 11:25 am, Malcolm Tredinnick
> wrote:
> > On Tue, 2009-02-03 at 19:10 -0800, Eric Abrahamsen wrote:
> > > Hi there,
> >
> > > I'm unable to do any testing -- my fixtures fail with a "Duplicate
>
On Feb 4, 11:25 am, Malcolm Tredinnick
wrote:
> On Tue, 2009-02-03 at 19:10 -0800, Eric Abrahamsen wrote:
> > Hi there,
>
> > I'm unable to do any testing -- my fixtures fail with a "Duplicate
> > Entry" error when loading. From what I've googled, this might have
> >
On Tue, 2009-02-03 at 21:30 -0600, James Bennett wrote:
> On Tue, Feb 3, 2009 at 9:22 PM, Jeff Hammerbacher wrote:
> > I could modify the call to Database.connect() in
> > django/db/backends/mysql/base.py, but that's not the most elegant
> > implementation. Does anyone have
Thanks James, that's just what I was looking for.
On Tue, Feb 3, 2009 at 7:30 PM, James Bennett wrote:
>
> On Tue, Feb 3, 2009 at 9:22 PM, Jeff Hammerbacher
> wrote:
> > I could modify the call to Database.connect() in
> >
On Tue, Feb 3, 2009 at 9:22 PM, Jeff Hammerbacher wrote:
> I could modify the call to Database.connect() in
> django/db/backends/mysql/base.py, but that's not the most elegant
> implementation. Does anyone have ideas on how to proceed in a
> Django-approved fashion?
On Tue, 2009-02-03 at 19:10 -0800, Eric Abrahamsen wrote:
> Hi there,
>
> I'm unable to do any testing -- my fixtures fail with a "Duplicate
> Entry" error when loading. From what I've googled, this might have
> something to do with a mismatch between my model definitions and the
> sql table
Hey,
I'd like to ensure that all communications between my Django app and its
database occur over SSL. I'm using MySQL as a backend, and have configured
the server with SSL support. Given that Django uses MySQLdb as its MySQL
client, I know that I can get an encrypted connection with:
Hi there,
I'm unable to do any testing -- my fixtures fail with a "Duplicate
Entry" error when loading. From what I've googled, this might have
something to do with a mismatch between my model definitions and the
sql table definition. This fails on a model that I've done a lot of
manual sql
On Tue, 2009-02-03 at 15:06 -0800, Casey Deccio wrote:
> Hi,
>
> I'm using django 1.0.2. I have an model with a large number of
> records. I was hoping that the built-in iteration on queryset objects
> would reduce the memory requirement, but it is using up all my memory
> (and swap), and I'm
On Tue, 2009-02-03 at 13:52 -0800, Vladimir Shulyak wrote:
> Any progress on this problem?
> I've got exactly the same problem with sessions on ubuntu/database-
> backend sessions. But the most interesting thing that variables like
> instances of large classes are deleted while simple instances
On Feb 4, 6:43 am, SnappyDjangoUser wrote:
> I am having a weird issue in which users are randomly logged out of
> the site and redirected to the login page. They must re-enter
> credentials before being able to continue browsing the site. The
> weird thing is I only see
Hello!
Just finished the four part tutorial and I'm excited to learn more. I
can't help but notice that both the 0.96 and latest version of the
tutorial end with the same "Coming Soon" section:
Coming soon
The tutorial ends here for the time being. Future
On Tue, 2009-02-03 at 11:43 -0800, SnappyDjangoUser wrote:
> I am having a weird issue in which users are randomly logged out of
> the site and redirected to the login page. They must re-enter
> credentials before being able to continue browsing the site. The
> weird thing is I only see this on
On Tue, 2009-02-03 at 19:27 +0100, felix wrote:
>
> hi-
>
> I'm using swfupload (flash upload widget) with the speed plugin.
> It looks like I'm getting 600k/s average upload speed to my slicehost
> server.
>
> it took me 28 mins for 140M
So you mean a bit over 600 kb/s. You left off the
On Tue, 2009-02-03 at 08:08 -0800, Theme Park Photo, LLC wrote:
>
> Ok! NOW I get it! You need to do a get to do a select by primary key
>
>
> u=User.objects.get(username="swirsky")
>
>
> For some reason I thought that you could get by primary key by just
> creating the object with the key
Thank you for explaining that the ports were the issue. My little
workaround is to simply run two dev servers:
from command line: python manage.py runserver 8080
then open another command line window: python manage.py runserver 8000
So in my views, the url I access is on port 8080. So when I
nevermind
moral: if it seems illogical it probably is something else
On Wed, Feb 4, 2009 at 12:38 AM, felix wrote:
>
> adict = {
> 'DATABASE_PASSWORD' : "something"
> }
>
> in settings.py :
>
> locs = vars()
> for key,value in adict:
> locs[key] = value
>
> I'm
adict = {
'DATABASE_PASSWORD' : "something"
}
in settings.py :
locs = vars()
for key,value in adict:
locs[key] = value
I'm dynamically assigning variables in settings
this works in the development server (a wsgi), but NOT on the production
server using mod_wsgi
is there a known
On Tue, Feb 3, 2009 at 5:54 PM, adelevie wrote:
>
> I am making an api. Part of the api involved serializing data which
> will then be deserialized on another machine. Since I am using the dev
> server, I wrote a view that referenced the api, ie:
>
> def someview(request):
>
Hi,
I'm using django 1.0.2. I have an model with a large number of records. I
was hoping that the built-in iteration on queryset objects would reduce the
memory requirement, but it is using up all my memory (and swap), and I'm
forced to break up the chunks manually using queryset slices.
On Tue, Feb 3, 2009 at 11:24 PM, souper wrote:
>
> Then if I try:
> all_objects = list(BurgerStand.objects.all()) + list(Place.objects.all
> ())
> data = serializers.serialize('xml', all_objects)
>
> I get all Place objects - even the ones that are not related in any
>
I am making an api. Part of the api involved serializing data which
will then be deserialized on another machine. Since I am using the dev
server, I wrote a view that referenced the api, ie:
def someview(request):
data = urllib2.urlopen("http://localhost:8080/some_method/?
param=foo")
On Tue, Feb 3, 2009 at 11:26 PM, haestan none wrote:
> Hi,
>
> I'm trying to use Django for implementing new stuff in some of our legacy
> apps.
> All the existing apps use PostgreSQL as their database backend. Now in order
> to
> do this as transparent as possible, I'd like
On Feb 3, 2009, at 12:15 AM, Malcolm Tredinnick wrote:
>>
>> 1) How do I turn a row into a model object? There is some discussion
>> of writing raw SQL in the docs (http://docs.djangoproject.com/en/dev/
>> topics/db/sql/#topics-db-sql), but I didn't see anything on turning
>> the row into a
Any progress on this problem?
I've got exactly the same problem with sessions on ubuntu/database-
backend sessions. But the most interesting thing that variables like
instances of large classes are deleted while simple instances like
integers are fine.
class Cart():
items = {}
Hi all
Using django-pagination, I encounter some serious performance problems
related to django-pagination. Request for every page triggers sql query
returning all Post instances, here's detailed description of my problem:
My model Is:
class Post(models.Model):
group =
ive been an avid django user for about 2 years, using it exclusively
for about 14 months or so, and one of my favorite things about the
framework is the community its brought together. the django community
can take great pride in being helpful, self-perpetuating, open, and
thought to be one of
> Note that I probably made a typo earlier, it should be
> Copy.query_set.all, not Copy.query.all. In case I've continued to get it
> wrong, read the documentation for the queryset API, in particular the
> part about accessing reverse relations.
Thanks Malcolm, i'll check this out and hopefully
Here Jon et al,
http://dpaste.com/116323/
Keep in mind this is very draft-y... I'm pretty much just doing this
to test and play around with getting the data. Hope this helps and
thank you.
-Alex
On Feb 4, 1:54 am, Jon Loyens wrote:
> Oops... I meant dpaste.com
>
> On
> I have two simple models:
>
> class Country(models.Model):
> name = models.CharField(_("Name"), max_length=50,
> unique=True)
>
> class Profile(models.Model):
> name = models.CharField(_("Name"), max_length=50,
> unique=True)
> country = models.ForeignKey(Country)
Well seems I found the solution. I just moved the project folder in my repo
(so now we have repo->myproject), so the name myproject will not change
after cloning, and now it all works
Any idea why?
On Tue, Feb 3, 2009 at 9:05 PM, Oleg Oltar wrote:
> Seems no :(
> I tried
Dan, thanks for replying so quickly. I neglected to note that I'm
forced to use version .96 for this project as it's legacy code shared
by other sites. I copied the safestring module into my utils directory
and it all worked like a charm.
Thanks very much for your help!
On Feb 3, 1:11 pm,
JimT wrote:
> I've searched pretty much everywhere and I still can't get my simple
> template tag working.
>
> It's supposed to simply return a list of strings which I can output in
> a template for loop. Currently it takes no parameters but eventually
> I'd like to pass it a string to format the
After following this article: http://www.b-list.org/weblog/2008/dec/24/admin/
I have managed to implement admin users editing and seeing only their
own records (yay).
However, I would like to be able to limit the fields users see based
on if they're superusers or not (i.e.: superusers see all
On Feb 3, 1:29 pm, nsitarz wrote:
> Well I've successfully subclassed the base aggregate class from
> Russell above and it works as expected, however when I try and group
> by my new aggregate field I get a FieldError. This makes sense to me
> because when I call values on
mptta is slow as hell
On Feb 3, 4:50 am, vicalloy wrote:
> I think mptt have good doc.http://code.google.com/p/django-mptt/
> mptt just a set of function to build tree efficient.
>
> 2009/2/3 Muslu Yüksektepe :
>
> > i did try it too but i deleted.
It seems that after rev. 9766 ImageFieldFile's save() method (where it
sets values for height_field and width_field) is bypassed when saving
the file (at least with the admin). I use FieldFiles that inherit from
ImageFieldFile (for example in django-thumbs code (thanks for
reporting the issue,
Never mind, it was easy.
Basically, overriding the "get_form":
def get_form(self, request, obj=None, **kwargs):
if request.user.is_superuser:
self.exclude = None
On Feb 3, 5:42 pm, "Rodrigo C." wrote:
> After following this
I've searched pretty much everywhere and I still can't get my simple
template tag working.
It's supposed to simply return a list of strings which I can output in
a template for loop. Currently it takes no parameters but eventually
I'd like to pass it a string to format the URL as well however it
and btw. if you have any wisdom regarding uploading really large files then
please share !
I posted another thread on that.
On Tue, Feb 3, 2009 at 8:50 PM, felix wrote:
>
> oh if its already where you want it (as long as its in the MEDIA ROOT)
> then just set the file
oh if its already where you want it (as long as its in the MEDIA ROOT)
then just set the file field with the string:
obj.filefield = "path/to/file.mov"
obj.save()
I might be wrong on this, but :
if you are working with a File that has a path, then you aren't really
moving it.
say its in
On Feb 3, 6:04 pm, Adam Yee wrote:
> On Feb 3, 9:49 am, Joshua Russo wrote:
>
> > I'm working through the tutorials and have encountered a strange
> > problem. So far everything works but Python doesn't acknowledge my
> > base site as a package.
I am having a weird issue in which users are randomly logged out of
the site and redirected to the login page. They must re-enter
credentials before being able to continue browsing the site. The
weird thing is I only see this on my production machine and not on my
development box (both serving
Hi,
I have the same problem as above.
I'm sure your solution works Felix, but it is important for me to
avoid resaving the files (as they can be well over 500Mb-1Gb in size).
The ideal solution would be to just change the path in the model
without having to resave the file.
Any help is
Seems no :(
I tried to manually specify correct path
os.environ['DJANGO_SETTINGS_MODULE'] = 'db_settings.settings'
but have same issue :(
(NOTE, i didn't create it with startpoject command, I just cloned project
from repo. May it help to understand the issue?)
On Tue, Feb 3, 2009 at 8:59 PM,
On Feb 3, 9:49 am, Joshua Russo wrote:
> I'm working through the tutorials and have encountered a strange
> problem. So far everything works but Python doesn't acknowledge my
> base site as a package. So everywhere that you see a reference like
> "mysite.poll" I need
Why it worked before I tried to change settings.py? Why actually site works?
Maybe something is in my tests?
Btw, my code organized this way:
/proj
urls.py
settings
./app
tests.py
urls.py
As I changed the project name I also hacked the tests file so now it
contains
Well I've successfully subclassed the base aggregate class from
Russell above and it works as expected, however when I try and group
by my new aggregate field I get a FieldError. This makes sense to me
because when I call values on the queryset the new field hasn't been
created yet.
Here's an
hi-
I'm using swfupload (flash upload widget) with the speed plugin.
It looks like I'm getting 600k/s average upload speed to my slicehost
server.
it took me 28 mins for 140M
but down (served through apache) is way way faster.
part of that must be the asymmetrical DSL connection, and part must
Wow that was fast and is exactly what I was looking for :D
Thanks,
Nick.
On Feb 3, 4:04 am, Russell Keith-Magee wrote:
> On Tue, Feb 3, 2009 at 8:34 PM, Russell Keith-Magee
>
>
>
> wrote:
> > On Tue, Feb 3, 2009 at 11:16 AM,
I'm working through the tutorials and have encountered a strange
problem. So far everything works but Python doesn't acknowledge my
base site as a package. So everywhere that you see a reference like
"mysite.poll" I need to use only "poll". I think that my problems stem
from the following section
I'm looking at creating an application that would use Django Auth for
managing users but once logged in the user will "belong" only to a
specific organization and can only work with data associated with that
organization. I've looked at using the Django Sites contrib but I
would like something
Yes, I missed that possible solution, It worked, Thankyou!
On Jan 30, 6:46 pm, Antoni Aloy wrote:
> 2009/1/31juanefren:
>
> > I am using modelformset_factory, to show forms and is working good, my
> > question now is, how can I modify widgets created
Oleg Oltar wrote:
[...]
>
> sub_match = pattern.resolve(new_path)
> File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py",
> line 181, in resolve
> sub_match = pattern.resolve(new_path)
> File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py",
> line 181,
On Feb 3, 6:36 am, Praveen wrote:
> http://dpaste.com/116096/
The user field in your MemberProfile is a CharField (I was expecting
it to be a ForeignKey to the User table).
I think the problem is you can't assign request.user to a CharField
(line 31). I'm
On Feb 3, 10:03 am, brad wrote:
> You could use the built-in __str__ method on now.year.
> In [11]: now.year.__str__()
> Out[11]: '2009'
>
> In [12]: now.year.__str__() == '2009'
> Out[12]: True
>
> In your template you'd do something like this:
> {% ifequal year
Ok! NOW I get it! You need to do a get to do a select by primary key
u=User.objects.get(username="swirsky")
For some reason I thought that you could get by primary key by just
creating the object with the key specified...
--~--~-~--~~~---~--~~
You received
Thanks! That was a little unintuitive because, of course, I was only
trying to do a "SELECT" on u and an INSERT on R. Save seems like it
would do something to u
On Feb 2, 10:39 pm, Malcolm Tredinnick
wrote:
> On Mon, 2009-02-02 at 22:22 -0800, Theme Park Photo, LLC
On Feb 3, 2:34 pm, Edgard Matos wrote:
> Hello!
>
> I need help!
> In my project, I need authenticate user in a module and sends user to
> previews page.
>
> I was try so:
>
> url_to_redirect = request.get_full_path()
> return
You should be more verbose about "some of the features of django
administration". Maybe you don't need django.contrib.admin,but just
ModelForm, or other parts outside of admin it self.
Regards, Ales
On Wed, Jan 28, 2009 at 2:38 PM, Saurav wrote:
>
> Hi All,
>
> I wanted to
On Feb 2, 6:37 pm, Bret W wrote:
> I've run into a problem with ifequal in one of my templates.
>
> I'm using date-based generic view to display all objects for a given
> year.
> urls.py:
> (r'^taken/(?P\d{4})/$' ...
>
> Part of the extra_context I pass is a DateQuerySet
Oops... I meant dpaste.com
On Feb 3, 8:54 am, Jon Loyens wrote:
> Alex, would you mind posting your complete template at dpaste.org for
> us to look at? It might clarify how you're trying to do the output.
>
> Thanks,
>
> Jon.
>
> On Feb 2, 11:37 pm, Alexiski
Hello!
I need help!
In my project, I need authenticate user in a module and sends user to
previews page.
I was try so:
url_to_redirect = request.get_full_path()
return HttpResponseRedirect(reverse('users.views.add',
args=(url_to_redirect,)))
And in my view, users.views.add, I get the
Alex, would you mind posting your complete template at dpaste.org for
us to look at? It might clarify how you're trying to do the output.
Thanks,
Jon.
On Feb 2, 11:37 pm, Alexiski wrote:
> > On Mon, 2009-02-02 at 21:21 -0800, Alexiski wrote:
> > > Hi Malcolm,
>
> >
I have the following class:
class QuoteForm( ModelForm ):
class Meta:
fields = [ 'user', 'photo', 'created', 'usage', 'complete', ]
model = Quote
def __init__(self, *args, **kwargs ):
import pdb; pdb.set_trace()
super( QuoteForm, self ).__init__( *args,
I have read the docs at:
http://docs.djangoproject.com/en/dev/topics/serialization/#inherited-models
That offer the following example for inherited serialization:
class Place(models.Model):
name = models.CharField(max_length=50)
class Restaurant(Place):
serves_hot_dogs =
Hi,
I'm trying to use Django for implementing new stuff in some of our legacy apps.
All the existing apps use PostgreSQL as their database backend. Now in order to
do this as transparent as possible, I'd like to use a different database schema
for the contrib apps that come with Django (admin,
> Revision 9766 introduced some changes related to file fields, can
> you try to refine your tests and see if it is the one that broke
> things in your case and report back please?
I tried both 9765 and 9766.
Indeed, in 9765 I don't come accross the problems mentioned. In 9766 I
do.
Files that
I guess I wasn't thinking completely clearly in regards to that, I'm
guessing the only failures that could happen might be failure to
connect to the server guess I'll need to dig into what failures could
be returned and what they might mean.
I did solve the problem with this one line added to
Hi all,
I'm looking for a file browser app that will enable user's to manage
files on the server in a given directory. I've found this app
http://code.google.com/p/django-filebrowser/ with looks great but
seem's to be only for the admin interface. I need one that can be
installed out side of the
http://dpaste.com/116096/
--~--~-~--~~~---~--~~
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, send email to
hi all!
I am really new to Django, and at the moment I have project which is
something like giving feedback to mates for specific task like
tutorial/assignement..
And I have a problem with the formset_factory. Any time when I try to
save the form it appears the error:
(Hidden field id)
Cool, you saved my life
On Feb 3, 10:50 pm, Ramiro Morales wrote:
> On Tue, Feb 3, 2009 at 9:40 AM, Erwin Elling wrote:
>
> >> I went back to 9781 (which was still on my system for a previous
> >> project) and the problem seems not to exist here.
On Tue, Feb 3, 2009 at 8:34 PM, Russell Keith-Magee
wrote:
> On Tue, Feb 3, 2009 at 11:16 AM, alex.gay...@gmail.com
> wrote:
>>
>> On Feb 2, 9:05 pm, nsitarz wrote:
>>> Hey,
>>>
>>> Back when the ORM aggregate support was a
On Tue, Feb 3, 2009 at 9:40 AM, Erwin Elling wrote:
>
>> I went back to 9781 (which was still on my system for a previous
>> project) and the problem seems not to exist here. Haven't had the time
>> to dig into this any further, but maybe this helps someone else.
>
>
Hi,
I would use the forms library, even if the form has only one input element.
I would use django.http.HttpResponseRedirect() to the list view, after
successful
deletion.
Aldo schrieb:
> Hi folks,
>
> MY URL is x.y.z/list
> It shows a list of objects. They have link buttons to delete/update
>
> I went back to 9781 (which was still on my system for a previous
> project) and the problem seems not to exist here. Haven't had the time
> to dig into this any further, but maybe this helps someone else.
Sorry, made a mistake; On 9781 the problem is still there.
On 9084 (also quite randomly
On Tue, Feb 3, 2009 at 9:29 AM, Waruna de Silva wrote:
> Hi,
>
> In Django is it possible to created models automatically from
> existing database.
Yes, see
http://docs.djangoproject.com/en/dev/howto/legacy-databases/#howto-legacy-databases
--
Ramiro Morales
On Tue, Feb 3, 2009 at 11:16 AM, alex.gay...@gmail.com
wrote:
>
> On Feb 2, 9:05 pm, nsitarz wrote:
>> Hey,
>>
>> Back when the ORM aggregate support was a patch in trac I used to
>> create custom aggregate objects that looked like this:
>>
>> class
Hi,
In Django is it possible to created models automatically from
existing database.
Thanks
Waruna
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On Feb 3, 12:10 pm, Erwin Elling wrote:
> It's probably not DrKayBee's view that's causing problems. Seems like
> it's the adminviews.
This was on the latest svn revision (9807).
I went back to 9781 (which was still on my system for a previous
project) and the problem
I think mptt have good doc.
http://code.google.com/p/django-mptt/
mptt just a set of function to build tree efficient.
2009/2/3 Muslu Yüksektepe :
> i did try it too but i deleted.
>
>
> 2009/2/3 new_user
>>
>> Hi, everyone.
>>
>> Recently I've
i did try it too but i deleted.
2009/2/3 new_user
>
> Hi, everyone.
>
> Recently I've installed mptt app on my project. But I cannot find out
> how to use it. Should I use it's functions manually, or could I use
> admin interface to order my models in tree structure?
>
> Thx
1 - 100 of 105 matches
Mail list logo