Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread Stephen McDonald
This is going back a few years, so things could be a lot different now, but here are the areas we addressed: - Database performance. We had some Satchmo sites that would spin up several hundred queries when rendering out a category. Cartridge goes to great lengths to ensure this never happens.

Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread Bolang
On 03/04/2012 06:51 AM, Stephen McDonald wrote: In conjunction with the Mezzanine 1.0 release, I've also released Cartridge 0.4. As I mentioned, Cartridge provides a full ecommerce package for Mezzanine. While Mezzanine is more of a framework for building sites with any type of content you need

Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread Stephen McDonald
Thank you. I don't think the dependency will ever go away. It would be like trying to remove Django as a dependency of Mezzanine. Cartridge heavily leverages many aspects of Mezzanine. On Mar 4, 2:16 pm, "uno...@gmail.com" wrote: > Stephen, > > Amazing work with Mezzanine and

Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread Stephen McDonald
Yes - behind the project homepage is the entire demo site where anyone can log in and try it out. I've left debug on so that when people find errors on it they can submit the traceback easily. It's been really helpful on the few occasions it has happened. On Mar 4, 12:55 pm, arshaver

Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread uno...@gmail.com
Stephen, Amazing work with Mezzanine and Cartridge. One question I had for you - have you considered separating Cartridge from the dependency on Mezzanine. I think Cartridge adoption will increase quite a lot if the interdependency is removed. I realize though, that this means more issues with

Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread arshaver
Looks great. One thing... looks like http://mezzanine.jupo.org/ is running with Debug = True (try http://mezzanine.jupo.org/asdf). Maybe you're aware, just FYI. On Mar 3, 3:51 pm, Stephen McDonald wrote: > Hi Djangonauts, > > I'm happy to announce the release of Mezzanine 1.0.

Re: Anyone experience any thing like this before?

2012-03-03 Thread Stanwin Siow
Thanks creecode. I totally forgot about that! cheers for pointing that out! Best Regards, Stanwin Siow On Mar 3, 2012, at 11:52 PM, creecode wrote: > def __unicode__ ( self ): > > return '%s' % self.pk -- You received this message because you are subscribed to the Google

ANN: Mezzanine 1.0 released

2012-03-03 Thread Stephen McDonald
Hi Djangonauts, I'm happy to announce the release of Mezzanine 1.0. Mezzanine is simple yet powerful BSD licensed CMS for building Django powered sites. Development of Mezzanine and its sister project Cartridge (ecommerce for Mezzanine) began over two years ago, born from frustrations with the

Re: Login Issues

2012-03-03 Thread hack
That seemed to fix part of the issue, but now I get this message: Page not found (404) Request Method: GET Request URL:http://localhost:8000/accounts/profile/ Using the URLconf defined in coolstuff.urls, Django tried these URL patterns, in this order: ^coolapp/ The current URL,

Re: Persistent List Filters

2012-03-03 Thread akaariai
On Saturday, March 3, 2012 5:53:54 PM UTC+2, doubtintom wrote: > > I want persistent change filter settings in the Django admin app. This > has been discussed for years, and from some bug/feature tickets, it is > inferred to be either implemented in SVN or getting close to it. I > cannot find

Re: multiple settings.py

2012-03-03 Thread akaariai
On Saturday, March 3, 2012 12:31:34 PM UTC+2, João Dias de Carvalho Neto wrote: > > Hi > > I'm recently diving into Django framework and a doubt is flashing my head. > > If I want to develop and to deploy cloud web applications, each customer > will have your singular database. In the Django

Re: Importing data using loaddata from exported data using dumpdata

2012-03-03 Thread Mike Dewhirst
have a look at file and see if it looks ok. I find I have to dump a model at a time and load them back in a sensible sequence. Connected by MOTOBLUR™ -Original message- From: Vincent Bastos To: django-users@googlegroups.com Sent: Sun, 04 Mar 2012, 08:40:07

Importing data using loaddata from exported data using dumpdata

2012-03-03 Thread Vincent Bastos
Hi, I am having trouble importing data using loaddata from a .json file that I created from a dumpdata export. I have a production application which runs MySQL on one server and a development machine which runs SQLite. I simple executed ./manage.py dumpdata > file.json on the production

Security: How to destroy sessions for a user

2012-03-03 Thread Santiago Basulto
Hello people, trying to implement a simple "change password" view this came out. What's the best way to destroy session information for a user? For example consider when the user changes its password. All session data should be destroyed. Thanks! -- You received this message because you are

Intermittent AttributeError

2012-03-03 Thread Nikolas Stevenson-Molnar
I have a Django site in production with Apache and WSGI. Today, the site hit several errors exactly like the one below. When I tried the same URLs that caused the errors, they worked fine. I've hit memory errors with this site before, but never anything like this. Has anyone else seen this sort

GeoDjango distance queryset filter with distance value stored within model

2012-03-03 Thread Daniel Gerzo
Hello guys, I have an Order model, that has an origin PointField and a range IntegerField. Furthermore, there is an UserProfile model, which has a geo_location PointField. Now, I have an User instance, user. I want to select all Orders, whose distance between Order.origin and

Persistent List Filters

2012-03-03 Thread doubtintom
I want persistent change filter settings in the Django admin app. This has been discussed for years, and from some bug/feature tickets, it is inferred to be either implemented in SVN or getting close to it. I cannot find any documentation on it, although I'm still looking. Anyone have any

Re: Anyone experience any thing like this before?

2012-03-03 Thread creecode
Hello Stanwin, On Friday, March 2, 2012 10:05:32 PM UTC-8, St@n wrote: Hello, > > I was just tidying up on my project when i discovered a small bug. > > the last one being a queryset. > > *So the forms.py looks like this:* > > keywords = >

Re: Automated Processes

2012-03-03 Thread creecode
On Friday, March 2, 2012 8:48:57 PM UTC-8, Russell Keith-Magee wrote: Seriously -- Django is good at what it does, but just because you've got a > really good hammer, it doesn't mean every problem is a nail. The task you > describe sounds like almost exactly what cron scripts are designed to >

multiple settings.py

2012-03-03 Thread João Dias de Carvalho Neto
Hi I'm recently diving into Django framework and a doubt is flashing my head. If I want to develop and to deploy cloud web applications, each customer will have your singular database. In the Django approach, The database configurations are in the settings.py file. How can I do to separate a

Re: Keep getting TemplateDoesNotExist when unit testing

2012-03-03 Thread Calvin Cheng
Hi Jonas, I am having exactly the same problem in one of my projects and I am not sure why. Did you manage to solve it in the end? Would appreciate it if you could share with me your solution if you did. Regards, Calvin On Saturday, December 24, 2011 10:51:27 PM UTC+8, jonas wrote: > >

Re: How do you use a link as a post request?

2012-03-03 Thread Daniel Roseman
On Saturday, 3 March 2012 10:21:39 UTC, leaks wrote: > > How do you use a link as a post request? > this is a thing that I have never done before... maybe use it inside a > form? > I searched and didn't find anything similar in django... > > Thanks in advance! > You can't. A link is a GET, by

How do you use a link as a post request?

2012-03-03 Thread leaks
How do you use a link as a post request? this is a thing that I have never done before... maybe use it inside a form? I searched and didn't find anything similar in django... Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django, nginx, Passenger

2012-03-03 Thread 软刀
is proxy_send_timeout too small ? I newer 2012/3/3 赵帅 > I suggest you do a pressure test on the url that have triggered the > problem to see whether it will show up again.If yes, to see the system > status such as the number of sockets being used and the number of >

Re: help with time

2012-03-03 Thread ajohnston
> You'll have to add another loop for the hours if you want more than just > 12:xx. Actually, after I hit send, I was sort of curious about how to handle the hours if you cross over from a.m. to p.m., but you just have add another range to the comprehension, and use 24-hour format in the hour

Re: help with time

2012-03-03 Thread ajohnston
On Mar 3, 12:54 am, Scott Macri wrote: > OK, I guess a better question is how do I switch my time outputs using > datetime.time from 24-hour clock to 12-hour clock so I can use am/pm? > I think this will work for what you need: >>> import datetime >>> TIME_CHOICES =