Re: Django deployment questions

2012-09-03 Thread Matt Stevens
ize of the repo). On Monday, 3 September 2012 11:19:55 UTC+1, Matt Stevens wrote: > > Hi Mike, > > I think this is a matter of preference. I've always cloned the entire > repository - new features can go live by simply checking out a new branch, > if something goes wrong I

Re: Django deployment questions

2012-09-03 Thread Matt Stevens
nd restore the repo from my daily backups. If this is more of an issue for you though then something like Gitosis would help. Cheers, Matt Stevens | http://www.dirtymonkey.co.uk On Sunday, 2 September 2012 06:07:03 UTC+1, Mike wrote: > > I just started to use Fabric to automate my d

Re: Mysql problem

2012-02-23 Thread Matt Stevens
when once would suffice. If the number of queries being run is low but they're taking ages, then ‘EXPLAIN’ the queries and see how they can be improved. 200,000 records is really not a lot. Matt Stevens | www.dirtymonkey.co.uk On 23 February 2012 11:21, kalyani ram wrote: > > Hey ppl! &g

Re: django-mptt compared w/ django-treebeard

2012-02-03 Thread Matt Stevens
*I used django-mptt (combined with FeinCMS's TreeEditor) on a few of my Django sites, it's brilliant.* *Any questions I've had have been quickly answered, usually by the maintainer** Craig de Stigter… he's pretty sharp.* * * * * *Matt. Stevens | www.dirtymonkey.co.uk* On Wed,

Re: Transition from VPS(WHM/CPanel) to EC2

2012-01-27 Thread Matt Stevens
Admin – albeit it's not web based. 4. I use rsnapshot, I've never had a problem. 5. iptables Matt. Stevens On Jan 23, 1:54 am, brian wrote: > I'm in the process of transitioning from a VPS (WHM/CPanel) to EC2. > I've found some great how to's on setting up a machine

Re: Pagination in ListView

2012-01-04 Thread Matt Stevens
ator.page(page_number)            return (paginator, page, page.object_list, page.has_other_pages())        except InvalidPage:            page = paginator.page(paginator.num_pages)            return (paginator, page, page.object_list, page.has_other_pages())======= On Ja

Pagination in ListView

2012-01-04 Thread Matt Stevens
Hi, I'm using a list view to show a list of my objects. === class MyListView(ListView): model = models.Post template_name = 'post_list.html' paginate_by = 10 === When a visitors goes to a p