Installing Pinax 0.7 on Ubuntu

2013-03-25 Thread Christos Jonathan Hayward
ld help me with what I hope is a winning approach, installing 0.7 and dependencies. Thanks, -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. *Amazon <http://amazon.com/author/cjshayward>* • Author Bio<http://j

An alternate cry for help

2013-03-23 Thread Christos Jonathan Hayward
but not how to take a starter Pinax project and make a finished site out of it. I'm ignorant on that point. How can I cure my ignorance? What resources are out there so I can get what was so easily in reach in older versions of Pinax?* -- [image: Christos Jonathan Hayward] <http://jonathanscorner.

As posted on StackOverflow

2013-03-22 Thread Christos Jonathan Hayward
hat point. How can I cure my ignorance? What resources are out there so I can get what was so easily in reach in older versions of Pinax? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. *Amazon <http://amazon.com

Up-to-date Pinax Social Network *working*?

2013-03-22 Thread Christos Jonathan Hayward
give me any help to load static content appropriately (it doesn't work to copy the line that loads media and change it to point to static values). -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. *Amazon

Up-to-date Pinax social network?

2013-03-22 Thread Christos Jonathan Hayward
and not as a system whose features are best showcased in what happens to be a social network, but I have more easily gotten a social network running on 0.5 than more recent releases. -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. *

Added wiring for basic authentication?

2012-08-11 Thread Jonathan Hayward
e 404 page. I am running Django 1.2.1. How can I glue things together so a @login_required decorator finds a logged-in user, and I can build on top of that? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. *Amazon <h

Difficulties deploying Satchmo store

2012-07-02 Thread Jonathan Hayward
Part of my problem is that I haven't found mod_fcgi examples. Could I have an example of a .fcgi file that says to connect to this port on this IP, with indicators of any additional information needed (like the project path or the deploy subdirectory.)  Jonathan Hayward, Author, Django JavaScript I

Taking advantage of multiple cores

2012-06-22 Thread Jonathan Hayward
the second request to another core? If this isn't the default, can it be enabled, and are there race conditions or other risks? Thanks, -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Jonathan Hayward, an Orthodox Christian author. *Amazon* <https://www.amazon.c

Re: Where are the 2+ places user_id is defined?

2012-02-15 Thread Christos Jonathan Hayward
P.S. The source is at http://JonathansCorner.com/project/pim.tgz. On Wed, Feb 15, 2012 at 3:40 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I forgot to specify where. The traceback is on a '''python manage.py > syncdb''', and happens immed

Re: Where are the 2+ places user_id is defined?

2012-02-15 Thread Christos Jonathan Hayward
I forgot to specify where. The traceback is on a '''python manage.py syncdb''', and happens immediately after the password is entered twice. On Wed, Feb 15, 2012 at 3:39 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I'm getting an error: > > Traceba

Re: Registering a user profile

2012-02-14 Thread Christos Jonathan Hayward
n Tue, Feb 14, 2012 at 12:32 PM, Kevin Anthony <kevin.s.anth...@gmail.com>wrote: > Did you include the module in your settings.py? > > Kevin > Please excuse brevity, sent from phone > On Feb 14, 2012 1:27 PM, "Christos Jonathan Hayward" < > christos.jonathan.h

Re: Registering a user profile

2012-02-14 Thread Christos Jonathan Hayward
m. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://jonathanscorner.com/author/> • *Ema

Email settings to use localhost's email

2011-09-13 Thread Christos Jonathan Hayward
PS's regular sendmail to power send_mail, retry_deferred, and emit_notices?* * * Thanks in advance. -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://jonathanscorner.com/author/> • Boo

Re: Where is "base.html" that "templates/site_base.html" extends?

2011-09-09 Thread Christos Jonathan Hayward
f the directories > specified in your TEMPLATE_DIRS variable in settings.py. > They are considered in the order they are written, so the base.html you are > extending is the first you find in this sequence. > > Hope this helps, feel free to reply > > 2011/9/9 Chri

Where is "base.html" that "templates/site_base.html" extends?

2011-09-09 Thread Christos Jonathan Hayward
se.html. -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://jonathanscorner.com/author/> • Books<http://cjshayward.com/> • *Email <christos.jonathan.hayw...@gmail

Re: Integrating django-honeypot with Pinax

2011-09-08 Thread Christos Jonathan Hayward
Breadcrumb note: someone on the list pointed out the middleware described at the bottom of django-honeypot's homepage. That was what I wanted. On Thu, Sep 8, 2011 at 1:21 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I would like to incorporate django

Integrating django-honeypot with Pinax

2011-09-08 Thread Christos Jonathan Hayward
to lessen the load of spam? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://jonathanscorner.com/author/> • Books<http://cjshayward.com/> • *Email <christos.jonathan.hayw

Deploy to stodgy Apache

2011-04-30 Thread Jonathan Hayward
the FastCGIExternalServer directive. Is there a way I can leverage the /fcgi-bin/ directory and httpd.conf so that requests for /shop/foo/ are serviced by Django? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Auth

Re: Missing step to syncdb from models.py?

2011-04-09 Thread Jonathan Hayward
I found the problem. I needed to put 'foo' (and 'django.contrib.admin') in settings.INSTALLED_APPS. On Sat, Apr 9, 2011 at 2:29 PM, Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I am missing a step in configuration, I believe, in getting a syncdb to > c

Missing step to syncdb from models.py?

2011-04-09 Thread Jonathan Hayward
the tables created for the Django admin interface to work? For another project, I couldn't save objects because an admin interface table didn't exist.) -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio

Attempting to save instance with null ID?

2010-12-30 Thread Jonathan Hayward
inux_x86_64/lib/python2.7/site-packages', '/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info'] Server time: Thu, 30 Dec 2010 10:04:24 -0600 -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christia

English translation for error message?

2010-12-21 Thread Jonathan Hayward
hrough and comment out the docstring and __str__() and __unicode__() methods. What are the likely causes, and what can I do to fix this? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://

Re: Not calling clean() properly

2010-09-14 Thread Christos Jonathan Hayward
Thank you. On Tue, Sep 14, 2010 at 3:01 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On Sep 13, 10:50 pm, Christos Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > Other attempts to write a clean that would run a print statement and then > &

Re: Not calling clean() properly

2010-09-13 Thread Christos Jonathan Hayward
. On Mon, Sep 13, 2010 at 3:44 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I have a TextURLField defined below, and I am trying to get the clean() to > prepend http:// to all entries that do not contain a ':'. In other words, > if someone enters "g

Not calling clean() properly

2010-09-13 Thread Christos Jonathan Hayward
alidators(value) return value def get_internal_type(self): return u'TextField' def __init__(self, *arguments, **keywords): models.URLField.__init__(self, *arguments, **keywords) Any suggestions? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/&

Gotcha with ?generic foreign keys?

2010-09-13 Thread Christos Jonathan Hayward
) def format_timestamp(self): return directory.functions.format_timestamp(self.timestamp) Any comments on how either I am misunderstanding how to use GenericForeignKeys, or how I might otherwise be clobbering one model type with another? -- [image: Christos Jonathan Hayward] <h

Re: Filter for non-True NullBooleanField

2010-09-12 Thread Christos Jonathan Hayward
Thanks, and noted for the future. I went with a regular BooleanField defaulting to False. On Sat, Sep 11, 2010 at 7:08 AM, Preston Holmes <pres...@ptone.com> wrote: > > > On Sep 10, 2:43 pm, Christos Jonathan Hayward > <christos.jonathan.hayw...@gmail.com>

Re: Filter for non-True NullBooleanField

2010-09-10 Thread Christos Jonathan Hayward
P.S. Setting: .filter(is_invisible__in = [False, None]) is not working as intended; I seem to be getting no matches when I should be getting matches. On Fri, Sep 10, 2010 at 4:19 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > How can I filter for instanc

Filter for non-True NullBooleanField

2010-09-10 Thread Christos Jonathan Hayward
How can I filter for instances having a NullBooleanField that is not True (i.e. is either False or a null)? -- [image: Christos Jonathan Hayward] <http://jonathanscorner.com/> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://jonathanscorner.com/author/>

Re: Breaking many-to-many connections

2010-08-31 Thread Christos Jonathan Hayward
I finally pinned down the problem; it was in an unrelated area. Thanks, On Tue, Aug 31, 2010 at 5:59 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I have an Entity which has a many-to-many field "tags" to Tags. I'm trying > to pin down a bu

Breaking many-to-many connections

2010-08-31 Thread Christos Jonathan Hayward
cts.get(id = int(search.group(2 entity.save() Is the code above, with the .tags.remove() code, enough, or do both the Entity and the Tag need to have a call to break the link? -- [image: Christos Jonathan Hayward] <http://JonathansCorner.com> Christos Jonathan Hayw

Re: Error working on many-to-many lookups

2010-08-26 Thread Christos Jonathan Hayward
ther lookup specified. > > Alex > > On Aug 25, 1:37 pm, Christos Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > I think I found the problem; for the record, I wanted text__exact, not > > text__equals. > > &g

Re: Error working on many-to-many lookups

2010-08-25 Thread Christos Jonathan Hayward
I think I found the problem; for the record, I wanted text__exact, not text__equals. On Wed, Aug 25, 2010 at 1:27 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I am trying to get a many-to-many tagging setup working, and I am getting > an error whic

Error working on many-to-many lookups

2010-08-25 Thread Christos Jonathan Hayward
a name I am testing against. -- [image: Christos Jonathan Hayward] <http://JonathansCorner.com> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://JonathansCorner.com/author/> • Books<http://CJSHayward.com/> • *Email <christos.jonathan.hayw...@g

Re: Migration: AlreadyRegistered

2010-08-18 Thread Christos Jonathan Hayward
/Versions/2.6/lib/python2.6/lib-tk', >> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old', >> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload', >> '/Library/Python/2.6/site-packages', >> '/System/Library/Framew

Re: Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > Thank you; I'm not seeing how. My admin.py reads: > > import django.contrib.admin > import directory.models > import tagging > > django.contrib.admin.autodiscover() > djan

Re: Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
t; Check the admin.py file for the app that contains the Entity model. > > On 18 August 2010 10:57, Christos Jonathan Hayward < > christos.jonathan.hayw...@gmail.com> wrote: > >> I am trying to migrate from one server to another: I tarred it up on the >> Linux server,

Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
/Versions/2.6/Extras/lib/python/PyObjC', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']Server time:Tue, 17 Aug 2010 19:53:40 -0500 -- [image: Christos Jonathan Hayward ← An Orthodox Christian author.]<http://JonathansCorner.com> Christos Jonathan H

Re: Many-to-one field in search

2010-07-23 Thread Jonathan Hayward
Thank you! On Fri, Jul 23, 2010 at 1:44 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On Jul 22, 9:55 pm, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > Would it make sense to make > > > > A: A TextEmailField which does not have th

Re: Many-to-one field in search

2010-07-22 Thread Jonathan Hayward
Would it make sense to make A: A TextEmailField which does not have the ForeignKey, and B: A model which has the foreign key and a TextEmailField as a better and more standard approach? On Thu, Jul 22, 2010 at 3:13 PM, Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote:

Many-to-one field in search

2010-07-22 Thread Jonathan Hayward
-- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free reading online: ☩ I invite you to visit my main site at http://JonathansCorner.com/ -- You received this message

Re: How do I translate a naming convention to model/database access?

2010-07-15 Thread Jonathan Hayward
# ...or you could leave off app_label, if there are no conflicting model >> names >> my_ct.get_object_for_this_type(pk=my_pk) >> >> That way you could use get_object_or_404() in your view. >> >> Ben >> >> >> On Thu, Jul 15, 2010 at 10:21 AM, Jonat

Re: How do I translate a naming convention to model/database access?

2010-07-15 Thread Jonathan Hayward
Thank you! Let me play with it. On Thu, Jul 15, 2010 at 10:41 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On Jul 15, 4:19 pm, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > I'm looking at a problem and see how to solve it, probably badly, wi

How do I translate a naming convention to model/database access?

2010-07-15 Thread Jonathan Hayward
uot;description" are effectively replaced by dynamically provided values? -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free reading online: ☩ I invite you to visit

Re: Plain Python traceback (not error page)

2010-07-15 Thread Jonathan Hayward
Thank you; noted; that fixed it. On Thu, Jul 15, 2010 at 5:51 AM, Tom Evans <tevans...@googlemail.com> wrote: > On Wed, Jul 14, 2010 at 8:48 PM, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > I am working on debugging a basic template, and after

Plain Python traceback (not error page)

2010-07-14 Thread Jonathan Hayward
, in patch_vary_headers if response.has_header('Vary'): AttributeError: 'SafeUnicode' object has no attribute 'has_header' This wasn't the usual format for a Django traceback, and the traceback is only in Django code, no reference to my project. Suggestions? Would it make sense to open a bu

Re: Look up model instance by id

2010-07-14 Thread Jonathan Hayward
d__exact = id)[0] > > (note id__exact rather than id__equals) > > > > On Jul 14, 3:18 pm, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > How do I look up a model instance by id (its primary key)? I have: > > > > entity = directory

Re: Log errors to file

2010-07-14 Thread Jonathan Hayward
it, I can ask my company whether they'd be > happy with me publishing it. > > Cheers, Euan > > On Jul 7, 10:35 pm, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > I'm working on a view made to output JSON for Ajax use. My log has: > > > > [07

Look up model instance by id

2010-07-14 Thread Jonathan Hayward
be going about this given the id field beforehand? -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free reading online: ☩ I invite you to visit my main site at http

Re: Serializing non-queryset data

2010-07-07 Thread Jonathan Hayward
Never mind; I found: import json def view(request): ... my_result = ... return HttpResponse(json.dumps(my_result), mimetype="application/json") On Wed, Jul 7, 2010 at 6:05 PM, Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote:

Re: Log errors to file

2010-07-07 Thread Jonathan Hayward
Wed, Jul 7, 2010 at 4:35 PM, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > I'm working on a view made to output JSON for Ajax use. My log has: > > [07/Jul/2010 17:47:13] "POST /ajax/login HTTP/1.1" 500 50678 > > That looks like Django gav

Serializing non-queryset data

2010-07-07 Thread Jonathan Hayward
easily enough create JSON manually, but is there a preferred way to take dicts, lists, strings, numbers, etc. and render a structure as JSON? -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection

Log errors to file

2010-07-07 Thread Jonathan Hayward
to a file or equivalent? The test server has no MTA so I can't really ask it to email me exceptions. TIA, -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free reading online: ☩ I

Re: Admin interface for model with optional 'self' relationship

2010-07-02 Thread Jonathan Hayward
Thank you! Solved. On Mon, Jun 28, 2010 at 4:14 PM, Jeff Green <jeffhg2...@gmail.com> wrote: > You need to also state that null=True. Also, you want to have ensure that > the field defined in your db > allows null values. > > On Mon, Jun 28, 2010 at 3:19

Re: Looking for unavailable table?

2010-06-28 Thread Jonathan Hayward
P.S. This problem did not resurface after I made other changes discussed elsewhere in the thread; it seems to be secondary damage. On Mon, Jun 28, 2010 at 2:46 PM, Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > Thanks for pointing me to South. I've glanced over it,

Admin interface for model with optional 'self' relationship

2010-06-28 Thread Jonathan Hayward
'/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages']Server time:Mon, 28 Jun 2010 15:13:53 -050 -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free

Re: Looking for unavailable table?

2010-06-28 Thread Jonathan Hayward
> On Jun 26, 2010, at 1:49 AM, Jonathan Hayward wrote: > > > No; that sounds like the issue then? > > > > If my project directory is named "directory", and I want to access the > "Entity" model in "models.py", what do I add to INSTALLED_APPS? I

Re: Looking for unavailable table?

2010-06-28 Thread Jonathan Hayward
rent model changes, just > running syncdb will not make the appropriate changes to your tables. You > probably need to look into south migrations. > > On Fri, Jun 25, 2010 at 2:09 PM, Jonathan Hayward < > christos.jonathan.hayw...@gmail.com> wrote: > >> P.S. Renaming the

Re: Looking for unavailable table?

2010-06-25 Thread Jonathan Hayward
t tell. On Fri, Jun 25, 2010 at 5:35 PM, Oleg Lomaka <oleg.lom...@gmail.com> wrote: > > Did you add your application to INSTALLED_APPS before running syncdb? > > On Jun 26, 2010, at 12:09 AM, Jonathan Hayward wrote: > > > P.S. Renaming the (SQLite) database file and running

Re: Looking for unavailable table?

2010-06-25 Thread Jonathan Hayward
10 at 3:00 PM, Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I received the error below from the admin interface; I thought it was > because I needed to run a syncdb, but stopping the server, running a syncdb, > and restarting has generated the same error: > > Op

Looking for unavailable table?

2010-06-25 Thread Jonathan Hayward
and want to manually create some dummy data in the table. Any suggestions? -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free reading online: ☩ I invite you to visit my main

django-tagging registering

2010-06-23 Thread Jonathan Hayward
/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages']Server time:Wed, 23 Jun 2010 10:46:07 -0500 -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian

Re: Fields validating as optional

2010-06-22 Thread Jonathan Hayward
Thanks, Dan and Daniel. On Tue, Jun 22, 2010 at 3:45 PM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On Jun 22, 9:11 pm, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > What is the preferred way to make e.g. a TextField that will pass > validat

Fields validating as optional

2010-06-22 Thread Jonathan Hayward
into errors with the first. Does this mean that I should go with the second, or is there another way that is preferred? I'm using 1.2. -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection

Re: EmailField etc. and VARCHAR / TEXT

2010-05-26 Thread Jonathan Hayward
lidation/#using-validators > > Alex > > On May 26, 8:24 am, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > Thanks! > > > > On Wed, May 26, 2010 at 5:32 AM, Daniel Roseman <dan...@roseman.org.uk > >wrote: > > > > &g

Re: EmailField etc. and VARCHAR / TEXT

2010-05-26 Thread Jonathan Hayward
Thanks! On Wed, May 26, 2010 at 5:32 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On May 25, 10:49 pm, Jonathan Hayward > <christos.jonathan.hayw...@gmail.com> wrote: > > For CharField, EmailField, URLField, etc., is VARCHAR implementation > > (meaning a fix

EmailField etc. and VARCHAR / TEXT

2010-05-25 Thread Jonathan Hayward
TEXT instead of VARCHAR so that a field of indefinite length is accommodated, resources permitting?) -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is available for free reading online: ☩ I

Re: Static media in development server

2010-04-28 Thread Jonathan Hayward
I found the problem; I was trying to serve static (non-admin) media from a 'media/', and that was apparently being overridden by admin media use of the same URL. On Tue, Apr 27, 2010 at 7:53 PM, Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > Thank you; right now I

Re: Static media in development server

2010-04-27 Thread Jonathan Hayward
> Hi, > > Use this FILE_UPLOAD_PERMISSIONS = 0600 > and you have to give permissions to apache to read the file upload > directory. > > > > > Jonathan Hayward wrote: > >> The file permissions are right AFAIK; the directory is mode 755 and the >> file 644,

Re: Static media in development server

2010-04-27 Thread Jonathan Hayward
ve the right permissions for accessing it with the > user that runs the dev server. > > Regards, > Xavier. > > Le 28 avr. 2010 à 01:00, Jonathan Hayward a écrit : > > Thank you! > > Right now, I have, in settings.py: > > MEDIA_ROOT = os.path.join(os.path.abspath(os

Re: Static media in development server

2010-04-27 Thread Jonathan Hayward
'document_root': > settings.MEDIA_ROOT, > 'show_indexes': True }),) > > > To answer your question, you should > use os.path.abspath(os.path.dirname(__file__)) instead of > os.path.dirname(__file__). > > Regards, > Xavier. > >

Static media in development server

2010-04-27 Thread Jonathan Hayward
r this way or if I add a trailing slash. How can I serve up static content from /media/* to a URL of /media/* from the development server? -- → Jonathan Hayward, christos.jonathan.hayw...@gmail.com → An Orthodox Christian author: theology, literature, et cetera. → My award-winning collection is

Re: Problems with first block

2010-04-27 Thread Jonathan Hayward
ck dtd }} ... {{ endblock dtd }} > > the properly syntax (for last Django version) would be: > > {% block dtd %} ... {% endblock %} > > Notice you should not include 'dtd' in the endblock tag. > > -f > > > > > > > On Apr 27, 3:51 pm, Jonathan Hayward >

Problems with first block

2010-04-27 Thread Jonathan Hayward
}{{ endblock footer_javascript_site }}{{ block footer_javascript_section }}{{ endblock footer_javascript_section }}{{ block footer_javascript_page }}{{ endblock footer_javascript_page }} {{ endblock footer_javascript }} {{ endblock footer }} -- → Jona

Re: Trouble installing satchmo

2010-03-22 Thread Jonathan Hayward
.org/chris1610/satchmo/wiki/ImprovedInstallationProcess>Hope > it helps > > lzantal > > > > On Mon, Mar 22, 2010 at 12:14 PM, Andrew <teres...@gmail.com> wrote: > >> Go to: >> http://groups.google.com/group/satchmo-users >> >> On 15 мар, 20:10, Jonathan Haywa

Trouble installing satchmo

2010-03-15 Thread Jonathan Hayward
_skeleton Do people have suggestions, including going to a Satchmo-specific list if this list is not intended to discuss Django add-ons like Satchmo or Pinax? -- → Jonathan Hayward, a Senior Web Developer who cares deeply about usability → www.linkedin.com/in/jonathanhayward • jonathan.hayw...@p

Django and light bulbs

2010-03-01 Thread Jonathan Hayward
Q: How many Django developers does it take to change a light bulb? A: *NONE.* (There's an application for that that comes standard with any Django installation.) -- → Jonathan Hayward, a Senior Web Developer who cares deeply about usability → www.linkedin.com/in/jonathanhayward • jonathan.hayw