Python-Social-Auth + Django

2014-04-10 Thread Chad Hollman
Hi all, my name is Chad, I'm working a project for a club at my university and my team and I are trying to provide a means for the club and it's members to track events, manage content, post media, etc. Our group wants to use LinkedIn as a legitimate means for the club membe

Re: dates DateQuerySet includes time

2013-10-15 Thread Chad Vernon
I'm using django 1.5.1 and I guess in in 1.5, the dates method returns datetime objects. So nevermind! On Tuesday, October 15, 2013 5:56:01 PM UTC-7, Chad Vernon wrote: > > I'm trying to use the dates QuerySet method but I am getting different > values in the template: &g

dates DateQuerySet includes time

2013-10-15 Thread Chad Vernon
ich comes with time. So am I using the dates method correctly? Thanks, Chad -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@g

Re: django-celery connects to localhost but not by ip

2013-09-20 Thread Chad Vernon
m --detach --pidfile=celerycam.pid' % siteDir) On Friday, September 20, 2013 8:47:44 AM UTC-7, Celso Providelo wrote: > > Hi Chad, > > Are you running a celery worker instance ? (`manage.py celery worker -E > -B`) > > You also have to run `manage.py celerycam` in order t

Re: django-celery connects to localhost but not by ip

2013-09-19 Thread Chad Vernon
t; Look in the RabbitMQ logs. Did the request make it to RabbitMQ? > > John > > On Sep 19, 2013, at 7:34 PM, Chad Vernon > > wrote: > > I am using djcelery and rabbitmq. Everything runs fine when the > BROKER_HOST is localhost but when I change it to the ip of the mac

django-celery connects to localhost but not by ip

2013-09-19 Thread Chad Vernon
. But to test first I am doing it all on the same machine. But as I said it doesn't seem to work when I change from localhost to the machine ip. I just get socket.error: [Errno 61] Connection refused. Any ideas? Thanks, Chad -- You received this message because you are subscribed to the G

Filtering a drop-down list in Admin

2013-08-11 Thread Chad
Hi, I am new to Django, I have read a good bit of the documentation and am trying to write an app. This app is simple and should allow for a lost of contacts and companies. Each company has different locations (or addresses) such as main office, branch office etc. Each contact should be assigne

Re: Calling ffmpeg doesn't work on apache server

2013-07-15 Thread Chad Vernon
, ovnicraft wrote: > > > > > On Wed, Jun 19, 2013 at 6:01 PM, Chad Vernon > > wrote: > >> I'm trying to use ffmpeg to generate a thumbnail for a video. It works >> just fine when I call it from a python shell and when I test it in "python >> manage.p

Re: Calling ffmpeg doesn't work on apache server

2013-06-20 Thread Chad Vernon
Hi John, Yes I am restarting apache after all changes I do. How do I check what workers I have running? Thanks, Chad On Wednesday, June 19, 2013 4:57:00 PM UTC-7, John wrote: > > Chad, > > Are you restarting apache after each change? It sounds like you have the > default 2

Re: Calling ffmpeg doesn't work on apache server

2013-06-19 Thread Chad Vernon
o I'm totally confused now. I'm an apache/django beginner so bear with me please! On Wednesday, June 19, 2013 4:12:02 PM UTC-7, Chad Vernon wrote: > > Looks like it has something to do with calling subprocess from the server > because this gives the same error: > > resp

Re: Calling ffmpeg doesn't work on apache server

2013-06-19 Thread Chad Vernon
Looks like it has something to do with calling subprocess from the server because this gives the same error: response = subprocess.check_output(['which', 'ls']) Anyone have any suggestions? On Wednesday, June 19, 2013 4:01:30 PM UTC-7, Chad Vernon wrote: > > I

Calling ffmpeg doesn't work on apache server

2013-06-19 Thread Chad Vernon
, but for debug here I'm calling check_call response = subprocess.check_call(['ffmpeg', '-i', self.file.path], stderr=fh) # actual path taken out for brevity Command '['ffmpeg', '-i', u'...']' returned non-zero exit status -6 I'

Re: Announcing new django project

2013-01-31 Thread Chad Vernon
Very nice! I'll probably try it out in my current project. On Thursday, January 31, 2013 9:25:06 PM UTC-8, h3 wrote: > > Hi everybody, > > I would like to introduce you my latest project: django-editlive > > It can make any database object editable in template with a simple > template tag. > > M

Re: F function?

2013-01-31 Thread Chad Vernon
Nevermind, found it! Was having a hard time searching for "F" :) https://docs.djangoproject.com/en/1.4/topics/db/queries/#query-expressions On Thursday, January 31, 2013 9:10:39 PM UTC-8, Chad Vernon wrote: > > I was looking at this snippet: > > http://djangosnippets.org/s

F function?

2013-01-31 Thread Chad Vernon
I was looking at this snippet: http://djangosnippets.org/snippets/1560/#comments And on this line: ReportField.objects.filter(order__range=range).update(order=F('order')+shift) What is the F in F('order')? Thanks! Chad -- You received this message because you are subs

get_absolute_url goes to ../../../r/14/1/

2013-01-21 Thread Chad Vernon
listed than what I just did. Am I missing another step? Thank you, Chad -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send emai

jquery multi file uploads in single post

2013-01-14 Thread Chad Vernon
the files as a single check-in. The uploader has a singleFileUploads option that is supposed to do just this, but in my view, the request.FILES always has just one value. Does anyone have any experience with this or have any suggestions? Thank you, Chad -- You received this message

Re: Project Structure - Lots of scattered custom views

2013-01-14 Thread chad petzoldt
> > It had occurred to me that Django wasn't the right tool for this job - > not everything is a nail :) I am embedding these files within a template, so they are not direct static serves. But the content must be inserted within the template "as-is" from the filesystem. I suck at Javascript

Re: Project Structure - Lots of scattered custom views

2013-01-11 Thread chad petzoldt
Sanjay, you were hitting things pretty close. I think that making sure slug names match up to real *static* locations is the key. I am hosting with Apache, and I thought about using some configurations to cheat a little bit, and get some of the static-files burden off of Django and let Apache

Re: Access local network locations

2013-01-07 Thread Chad Vernon
Never mind. I think it's a permissions issue. Thanks! On Monday, January 7, 2013 5:04:06 PM UTC-8, Chad Vernon wrote: > > Hello! > > I'm working on a local django site and I've set up a post-save signal > where when an entry is initially saved, I want to copy a t

Access local network locations

2013-01-07 Thread Chad Vernon
ough ps aux | grep apache Is there a setting I need to set in django or is this an apache issue? I'm new to both so please excuse my ignorance. Thank you, Chad -- You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: Project Structure - Lots of scattered custom views

2013-01-07 Thread chad petzoldt
> > Tie them neatly together > There are some cases where they send me Indesign, but when I export to HTML some of the layouts break. So then I have to manually rig it until I feel its close enough (but then it turns out it wasn't, so I mod again). Some imagemaps made from sliced up Photoshops

Project Structure - Lots of scattered custom views

2013-01-07 Thread chad petzoldt
Right now my project only has 2 apps that use a database (*real* apps). The rest of the website is composed of many custom views, scattered all over the place. I am new to Django, and I havn't quite figured out how to structure my project directory just yet. I think what I should really be look

Working with Django from a Shell

2012-12-28 Thread chad petzoldt
I do fully intend to deploy django on my web-server, but so far I havn't made it off of my development platform. Right now, I primarily use the built in test server, and do most of my composition using the template system. I know there are other systems designed with document publishing in mind,

RE: Django asset management and dynamically created databases

2012-12-23 Thread Chad Vernon
Yes the single database was my original and preferred design. I will try to push for that design. I think there was concern about reliability and performance of everything in one database but I don't think that will be an issue given our needs. Thanks, Chad From: Mike Dewhirst Sent: 12/23/2

Django asset management and dynamically created databases

2012-12-23 Thread Chad Vernon
and please forgive my limited django knowledge. Chad -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/z58OGDKAXCoJ. To post to this group, send e

project for hire

2009-01-08 Thread Chad
Available for 6-30 hour django project? To find out more please contact c...@brattiss.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@google

Re: How to determine server?

2008-05-15 Thread Chad Parker
found this in the djangoproject.com source and it works well for me: (goes in settings.py; change webfaction.com to whatever you get from your server) # Far too clever trick to know if we're running on the deployment server. import platform DEVELOPMENT_MODE = (platform.node() != "web22.webfaction

Re: Stephane += Aspen 0.7 (Python webserver)

2007-01-17 Thread Chad Whitacre
tain an aspen.conf file anyway, it seemed like a good idea to move the setting there. Again, it's all here: http://code.google.com/p/aspen-commons/wiki/Stephane chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Stephane += Aspen 0.7 (Python webserver)

2007-01-17 Thread Chad Whitacre
le.com/p/aspen-commons/wiki/Stephane Does this address the issue? chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.co

Re: Stephane += Aspen 0.7 (Python webserver)

2007-01-17 Thread Chad Whitacre
ated the wiki page with this info: http://code.google.com/p/aspen-commons/wiki/Stephane Do you have a suggestion for how to keep Stephane a black box, or do you think this explanation is enough? chad --~--~-~--~~~---~--~~ You received this message because y

Stephane += Aspen 0.7 (Python webserver)

2007-01-16 Thread Chad Whitacre
nt, I encourage you to check out Stephane and Aspen. Screencast, downloads, doc: http://code.google.com/p/aspen-commons/wiki/Stephane Thanks! yours, Chad Whitacre - http://www.zetadev.com/ <= FOSS http://tech.whit537.org/

Re: Screencast: Django + Aspen = Stephane (was Re: pure-HTTP deployment?)

2006-12-22 Thread Chad Whitacre
level. chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROT

Re: pure-HTTP deployment?

2006-12-22 Thread Chad Whitacre
core dump, or maybe something in your app's error log. occasionally a CherryPy formatted error message saying something along the lines of "CherryPy server is stopped". I'm not sure you'd see anything CherryPy-formatted if you were only using

Re: Screencast: Django + Aspen = Stephane (was Re: pure-HTTP deployment?)

2006-12-22 Thread Chad Whitacre
All, I've posted documentation for Stephane using Google Code's new Wiki feature: http://code.google.com/p/aspen-commons/wiki/Stephane chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: Screencast: Django + Aspen = Stephane (was Re: pure-HTTP deployment?)

2006-12-21 Thread Chad Whitacre
down the Aspen process? :) Oh, probably. :) Good food for thought, thanks. As mentioned, Aspen wraps cherrypy.wsgiserver, which uses a pool of threads to handle requests. Exceptions will only affect a single request, but I haven't looked at other ways a thread could crash/hang

Re: pure-HTTP deployment?

2006-12-21 Thread Chad Whitacre
g to talk about implementing the filesystem-centric parts separately if that might mean a wider audience for Aspen. But it may also truly be the case that there's not enough value in cooperating on #2. chad --~--~-~--~~~---~--~~ You received this mes

Re: pure-HTTP deployment?

2006-12-21 Thread Chad Whitacre
general to Python? chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send ema

Re: Screencast: Django + Aspen = Stephane (was Re: pure-HTTP deployment?)

2006-12-21 Thread Chad Whitacre
ou all quick. Aspen's documentation seems rather sparse. Really? Have you seen this: http://www.zetadev.com/software/aspen/0.6/doc/html/ I guess I'd consider that pretty good documentation for a project that's only 1 month old. No? chad --~--~-~--~~---

Re: pure-HTTP deployment?

2006-12-21 Thread Chad Whitacre
Peter, what's the pure-HTTP deployment mean??? Sorry, by pure-HTTP deployment I mean that the Django server process speaks HTTP instead of FastCGI or mod_pythonese. chad --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Screencast: Django + Aspen = Stephane (was Re: pure-HTTP deployment?)

2006-12-21 Thread Chad Whitacre
d in finding a robust pure-Python application server that I can use for Django stuff - but at the moment my priority is keeping my site up. Python needs an answer to Mongrel! Others have indeed compared Aspen to Mongrel, although Aspen isn't written in C (yet?). chad --~--~-~--~--

Re: pure-HTTP deployment?

2006-12-21 Thread Chad Whitacre
need. Fair enough. Also, didn't GvR mention in his Mondrian Google Tech Talk that he's using the wsgiref library (which should have a lightweight WSGI web serve if I'm not mistaken)? Yeah, but see the Web-SIG for recent discussion on wsgiref's limited use in producti

Re: pure-HTTP deployment?

2006-12-21 Thread Chad Whitacre
wouldn't be an issue. chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send

Re: pure-HTTP deployment?

2006-12-20 Thread Chad Whitacre
t's got the CherryPy module at its core, so I'm interested to hear more about the problems you had with that. Did the process die? Did it spin? What exactly did your glue code look like? I'm all ears, as I'm sure are the CherryPy folks. :^) chad --~--~-~--~~--

pure-HTTP deployment?

2006-12-20 Thread Chad Whitacre
Greetings, I'm interested in deploying Django as a pure-Python HTTP daemon, much like Zope and CherryPy are deployed. Is this done at all w/ Django? Thanks. chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Combining Unique Columns

2006-10-20 Thread Chad Simmons
MerMer wrote: > I am aware that Unique=True can be used to ensure that a value is > unqiue within a particular column. See "unique together" http://www.djangoproject.com/documentation/model_api/#unique-together -- Chad Simmons --~--~-~--~~~

Re: some problems that make my work hard or force me to use AntiPatterns

2006-10-20 Thread Chad Simmons
RonnyPfannschmidt wrote: > while developing with django i encountered some ugly problems make my > work very hard > > > 1. sessions lack a direct relation to user, as well as a last-view > attribute What would be a "good solution"? Having it be part of the standard session middleware? Ok. Go ahe