On Tue, Aug 30, 2005 at 08:13:34PM -0500, Adrian Holovaty wrote:
> Regarding the error, you'll need to make sure your __init__.py file
> contains "myapp" in its "__all__" variable, assuming "myapp.py" is the
> name of your model module. See
The issue was resolved after making one change in file
d
I have images( that I want to use on my web pages) in a directory
C:\Django\Pictures
so in main.py ( settings subdirectory ) I changed
MEDIA_ROOT = 'C:\Django'
MEDIA_URL = ''
and in my template index.html I use
but it does not work and I do not know what is wrong.
Can you please help?
Thank y
On 9/2/05, Milton <[EMAIL PROTECTED]> wrote:
> Is it possible to do the following using the DB API or would I be
> better off running a manual sql query? from the docs it appears you can
> only do AND queries?
>
> select * from table where col='value' or col='value2'
>
> It's a simplified exampl
I'm wondering if there is a convention for integrating external apps
with Django, or at least for portions of code that will be using the
APIs, but aren't directly part of the application. At the moment I have
them in a completely separate directly, but I'd like to include them in
the same directo
>From what I've read so far in this group what I want probably isn't
possible but I'll throw it out there just in case.
On a single production Apache server I'd like to host a main Django
application, several sub-applications, the Django admin UI, several
Trac projects, and a good number of media
5 matches
Mail list logo