The short answer is: it depends what OS you're on, and where your Django
package is installed.
On Unix-like systems, it'll be somewhere like
lib/python2.7/site-packages/django/contrib/ (substitute your python
version, obviously). But what goes before 'lib' depends on where your
Python libraries
I'm not sure I buy this stuff about JS taking over everything. The reason
is that client and server are different domains, and we might reasonably
expect - even in a pure JS-only shop - people to specialise anyway. Apart
from the tiniest start-ups, there isn't really an evolutionary advantage to
Are you doing any user agent sniffing anywhere? If you make a request
having spoofed your UA to match one of the offending Google/Yahoo bots, do
you get the same 500 errors? Anything in robots.txt?
On Fri, Jan 24, 2014 at 4:44 PM, Doug wrote:
> I am having this same exact
Do you have a requirements.txt file (with all your requirements therein)?
Heroku recognises python apps by its presence (although I'm told this is
not yet 100% reliable - never tried myself).
On Tue, Jan 7, 2014 at 9:55 AM, Vibhu Rishi wrote:
> yes. just create a text
line 5, models.py - you've capitalised Class. It should just be 'class',
all lower case.
JT
On Fri, Nov 22, 2013 at 4:41 AM, puneet pandey wrote:
> I was going through Django tutorials and found the command - 'python
> manage.py migrate' to give output as 'unknown
On number 3, annotate returns the annotated queryset, not the particular
result of the annotation. The annotation is added to each individual object
in the set.
Turning that into an integer doesn't make sense, because num_publications
is a property of *each individual *entry in the set, not the
Hi Ham, I was following your thread on the LinkedIn django group and it
looked there like you had a couple of simple typos in your CatalogCategory
model's __unicode__ method. Did you get round to fixing those?
JT
On Wed, Nov 6, 2013 at 11:46 AM, Ham Kibz wrote:
> Below is
Hi George,
As a fellow relative n00b to Django (and 'serious' web development), I
think this is a very good idea. I'm working through Harry Percival's
excellent book, and only got hopelessly lost during the deployment
8 matches
Mail list logo