Comments by Greg Allard

Welcome Login or Create Account

You can do this.
from somewhere import SoftDeleteManager

class NewManager(SoftDeleteManager):
'''new stuff'''

and in the model
objects = NewManager()

Reply | Original | Permalink | Tweet

I felt the same way when I started especially since I didn't know any python yet. And now I'm almost as comfortable as I was with php. I'm glad I moved on from php. It's good to not be a single language developer.

Reply | Original | Permalink | Tweet

Yeah, I thought I'd write that post since before using this method, I was checking the flag each time I wanted a set of records. And I was doing that for a bunch of models. Now I can apply these managers to any new model that I create and I don't need to worry about it anymore.

Reply | Original | Permalink | Tweet

I just went through the whole xbox live cancel thing too. No place on the site or in the console to quit. Tech support e-mail would always say call them. The person on the phone was able to take care of everything and even mentioned billing.microsoft.com would allow you to stop the auto renew. I didn't try that out since I was already on the phone. I don't know why the e-mail support responses left that out. If that site works for someone, it would be nice to know.

Reply | Original | Permalink | Tweet

This wiki was created to list what tools are used by which startups. http://startuptools.pbworks.com/

Reply | Original | Permalink | Tweet

I like this: >Our apologies… > >The page you requested cannot be displayed

Reply | Original | Permalink | Tweet

It's good that you have a video showing the features, but it could use some more audio. The silent parts need a voiceover. It looks like there is enough stuff to talk about to fill up the whole time.

Reply | Original | Permalink | Tweet

This is useful. I just tried it with this

test = " go to http://ole-laursen.blogspot.com/2009/05/safe-truncation-of-html.html "

{{test|urlize|truncatehtml:25}}

And it worked how expected.

Reply | Original | Permalink | Tweet

I updated this post. I was thinking the uploaded file was deleted after using it, but I just needed to reset the file. Django's InMemoryUploadedFile uses StringIO. Doing file.seek(0)
will reset the StringIO file to be ready to create another thumbnail.

Reply | Original | Permalink | Tweet

In addition to this question it would be good to know where to go to try out all of these chairs that are mentioned. Most places I've been only have the cheap ones out for trial.

Reply | Original | Permalink | Tweet

It would be nice to know more about how the website will be sent to my kindle before giving out my kindle email address.

Reply | Original | Permalink | Tweet

I just installed django-memcache-status to see the usage of memcache in the django admin interface. It looks pretty good and it's easy to install. Just download it and add it to installed apps. http://github.com/bartTC/django-memcache-status/

Reply | Original | Permalink | Tweet

Yeah amazon's content distribution network is awesome and not a bad price. I'd like to hook that up sometime soon. I didn't know that subdomains would help with the browser limit. That's a good idea.

Reply | Original | Permalink | Tweet

I gave it another shot and it still wasn't working. I sent a message to the google group and got a response from someone at google. It is a feature that needs to be implemented and it sounds like they will prioritize it since a few people were requesting it. http://groups.google.com/group/google-analytics...

Reply | Original | Permalink | Tweet

This is awesome. It was pretty easy to get going. It seems like google analytics is unable to produce one type of result that I want though. For a single page on my site I want to know the keywords that got people there or the referrers. I can browse to it on the web interface, but I keep getting bad request errors when I try a way to get that info from them.

I've tried adding pagePath and keyword as dimensions and I've tried using a filter on pagePath while only having keyword as a dimension. Neither of those would work. Do you have any other ideas I could try?

Reply | Original | Permalink | Tweet
  1. « Previous
  2. Page:
  3. 1
  4. 2
  5. 3
  6. 4
  7. ...
  8. 6
  9. Next »
Greg Allard
Name
Greg Allard
Web
codespatter.com
About Me
Web Developer

Stats

Feeds

Comments from