Re: Learn DJango first, then learn Pinax; or just learn Pinax straight-off?

2012-01-16 Thread mattym
I started learning Python and Django at the same time. That was a bit of a challenge for me, with the Django template language having slightly different syntax. Soon after I started I had to get a project out fast, so I went with Pinax. Pinax helped me learn more about Django (and Python). It felt

Re: Pointing to Memcached on Remote Server

2012-01-05 Thread mattym
Thanks again everyone The solution was a quick adjustment in memcached.conf. Changing -l 127.0.0.1 to -l 0.0.0.0 Matt On Dec 5 2011, 1:27 pm, mattym <slackbabb...@gmail.com> wrote: > Thanks all - > > I stepped away from this issue for a few days.  I am confident this > th

Re: URL Issue - Slugged Url with Custom IDs

2011-12-07 Thread mattym
!= themodel.slug: return HttpResponsePermanentRedirect(thebattle.get_absolute_url()) else: themodel = get_object_or_404(MyModel, custom_id=api_id) ... #models.py set get_absolute_url() in models.py accordingly. ~Matt On Dec 7, 1:36 pm, mattym <slackbabb...@gmail.com> wrote

Re: Django E-Commerce Framework

2011-12-07 Thread mattym
If the shop does not need to be majorly customized I also recommend Satchmo. If it is going to be a large store you might have to research implementing Custom Products with Satchmo. And do a little work making Custom Products as friendly to administrate and track in the store admin as

URL Issue - Slugged Url with Custom IDs

2011-12-07 Thread mattym
Hi all - Question. I would love to use a slug in the usual way for nice urls: #urls.py urlpatterns = patterns('app.views', (r'^(?P.*)/foo/$', 'viewfunction'), ) #views.py def viewfunction(request, myslug): themodel = get_object_or_404(MyModel, slug=myslug) However, due to requirements

Re: Pointing to Memcached on Remote Server

2011-12-05 Thread mattym
IP address to listen on. The default is to listen on > all IP > addresses > # This parameter is one of the only security measures that memcached > has, so make > sure > # it's listening on a firewalled > interface. > #-l 127.0.0.1 > > On Dec 2, 3:49 am, mattym <s

Pointing to Memcached on Remote Server

2011-12-01 Thread mattym
Hi all - I am stuck on this one. Caching with memcached works when I reference the local box holding Django. But when I point my setting to a remote box it does not cache: This is with Django 1.3 using python-memcached on the localbox in a virtualenv 'default': { 'BACKEND':

Re: poll problem

2011-06-14 Thread mattym
Scroll down to the second answer by Paolo. That should lead you in the right direction. http://stackoverflow.com/questions/625047/django-newbie-reverse-not-found On Jun 13, 11:04 pm, jaspreet wrote: > Hello everyone, > my polls application is completed. Admin part of the