Extending django-admin.py startproject/manage.py startapp: a good layout for reusable apps

2011-04-04 Thread MrMuffin
I`m writing a simple extension of django-admin.py/manage.py so I can have a predefined set of configurations and use those when I create a new project or reusable app. For instance, I use sqlite3 in the initial stage of development so that should be set automatically. My name doesn`t change that of

Django IDE : how to start the devserver in an editor?

2011-03-30 Thread MrMuffin
I`m trying to develop a simple plugin[0] for the Editra[1] editor for django development. Right now it can create django projects and apps from within the editor. The editor is based on wxPython and I want to start the devserver from within the editor, show a simple form with the option to stop or

Re: Customizing how the elements are listed in admin change_list.html

2011-03-09 Thread MrMuffin
If anybody else finds this post and wonders how it went. Follow these instructions. Works great! http://stackoverflow.com/questions/4794528/extending-django-admin-templates-altering-change-list Thomas On 8 Mar, 23:59, Thomas Weholt wrote: > My app handles photos and the admin shows these photos

Mockup, like Fudge, in unittesting of django when the orm is involved

2011-02-16 Thread MrMuffin
I`m looking into new ways to unittest my django code. The reason for this is that I find it cumbersome to always have to set up a real database, allthough using sqlite and :memory: makes it relatively easy, I was wondering if anybody has done it using mock/fake objects like Fudge? Writing unittests

Re: Django + WebDAV

2011-02-16 Thread MrMuffin
Have you looked at http://code.google.com/p/wsgidav/ ? Thomas On 15 Feb, 14:25, Thomas Weholt wrote: > Please post any findings on this subject or information about any > projects you might start to solve/provide this to this group. This is > very interesting. :-) > I`ve made a ftpserver which a

How updated is the online version of the Django Book?

2010-10-07 Thread MrMuffin
The django book found here : http://www.djangobook.com/en/2.0/ is great, but is it being kept up to date with the current version of django? Just wondering. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Synching samba users to django users?

2010-09-21 Thread MrMuffin
lient-... > > Cheers > > Rogério Carrasqueira > > --- > e-mail: rogerio.carrasque...@gmail.com > skype: rgcarrasqueira > MSN: rcarrasque...@hotmail.com > ICQ: 50525616 > Tel.: (11) 7805-0074 > > 2010/9/21 MrMuffin > > > Hi, > > > I need to sy

Synching samba users to django users?

2010-09-21 Thread MrMuffin
Hi, I need to sync samba users ( and generally manage samba users, samba shares and start/restart the samba service ) from within django. I've googled for hours and emailed some people on the samba site, but haven`t gotten any answers. I want to create a reusable app that can handle samba managem

Software for making screen mockups/application flow for django projects?

2009-02-27 Thread MrMuffin
I want to make some mockups and lay out application flow for my django project but cannot find any suitable software for linux. Do any of you have any good hints? Something like http://www.balsamiq.com/products/mockups, but free. My main goal is to have a complete spec and visual lay out of my pr

Authentication/access check when serving static media thru Apache/nginx

2009-02-16 Thread MrMuffin
I`m using django to develop something similar to flickr, a site for photo-sharing. Photos can be public, need authentication or be personal and not available for anyone but the owner. Serving static data using django is not optimal, but how can I control access like this when serving static media

Problems with unicode characters in templates

2008-10-24 Thread MrMuffin
When I use norwegian characters in templates django spews out errors about encoding. What encoding ( UTF-8, iso-8859-1 ) should I use and where do I put it to avoid these errors? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Forms generated from models missing primary key

2008-10-22 Thread MrMuffin
I'm generating html forms from models using ModelForm. When I do something like : >>> article = Article.objects.get(pk=1) >>> form = ArticleForm(instance=article) the generated form doesn`t have a hidden field for the primary key. Why? What`s the best way to add it? --~--~-~--~~-

Re: Recipie/tutorial for Django and no apache?

2005-08-07 Thread MrMuffin
Hmmm ... I've posted a related post to comp.lang.python about the lack of a production grade web-server, especially a WSGI-server, in the standard distro of python. For a while I didn't think pure python web-servers wasn't capable of handling real-life loads, but twisted claims to have a server th

Re: Recipie/tutorial for Django and no apache?

2005-08-07 Thread MrMuffin
I am aware of the testing-only pure-python web-server. What excactly are the short-cummings of the test-server? Is it slow, unstable, not thread-safe? I'd like to develop web-based applications that's easy to install/deploy, ie. create self-contained packages using cx_freeze or py2exe. That's ha

Recipie/tutorial for Django and no apache?

2005-08-07 Thread MrMuffin
Hi, I'd like to get started using Django without installing Apache. I'd even know how close I can come to a production-ready environment without using Apache ( preferrably only python + mysql ). Thanks and keep up the great work. Django looks awsome! Tw