syncdb has never been able to modify existing models. In order to get
some functionality like that, look into django-evolution:
http://code.google.com/p/django-evolution/
-Chris
On Thu, Dec 25, 2008 at 1:11 AM, Fluoborate wrote:
>
> Running the command:
> python manage.py syncdb
>
Thanks :-)
On Dec 22, 4:01 am, leveille wrote:
> You're 14. You recognize that you're having a problem and you post to
> the Django group for help. You're not stupid at all. I would say
> you're very intelligent!
>
> On Dec 21, 2:43 pm, Chris wrote:
>
Oh shit, that's awesome! Thanks! I thought it had already created the
DB and wanted me to fill in that info... I'm so stupid sometimes.
Thanks a bunch mrtot...
On Dec 21, 3:50 am, mrtot wrote:
> Hi Chris,
>
> maybe it's the best to just do what the error message sugge
--
Pretty much the same as the errors I'm getting at the command line...
Any insight would be appreciated - I think I'll just install MySQL
locally and use that, as SQLite sounds like a limiting pain in the
ass... Verification on this? A
t I'll have
more questions for you guys!
Best,
Chris
On Dec 21, 12:41 am, Jeff Anderson wrote:
> Chris wrote:
> > it says it can't find django-admin.py
>
> I didn't see that for my most recent reply. Your problem is that
> django-admin.py isn't on your PAT
of
installation, explained in dummy terms, if possible. I know I'm
overlooking something stupid – it says it can't find django-
admin.py... so I'm lost – thanks for the reply, though!
On Dec 20, 5:58 pm, Jeff Anderson wrote:
> Chris wrote:
> > When I'm in the comma
When I'm in the command line, and run the command django-admin.py
startproject mysite, I don't get an error, but nothing happens... as
far as I can tell! When I cd'd into the directory I'm working in, I
did exactly what the tut said – I'm on OS X Leopard with Python 2.5,
if that helps anyone help
Thank you very much for the great advice.
I found that it is:
self.base_fields['accounts'].choices =
but I am sure that was just an example.
Thanks again.
On Dec 18, 1:52 am, Daniel Roseman
wrote:
> On Dec 18, 9:41 am, Chris wrote:
>
> > Hello all,
> &
Hello all,
I am trying to popular a multi-select form field by passing in a user
object suchas request.user so that I can filter a table based on that
object. Below is what I came up with but it is still not working.
I get the following error: 'ChoiceForm' object has no attribute
'accounts'
http:
of the primary key.
>
> On Dec 9, 3:48 pm, bruno desthuilliers <[EMAIL PROTECTED]>
> wrote:
>
> > On 9 déc, 11:32, Chris <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
> > > when django is running on a server, I want to make a call to:
> > >
> much easier to help you.
>
> -Jeff
>
> On Dec 9, 1:19 pm, Chris <[EMAIL PROTECTED]> wrote:
>
> > I found this snippet:http://www.djangosnippets.org/snippets/814/and
> > noticed that it does not work as intended do to the issue that I
> > described.
this default=random.random. Any Ideas how I can
fix this? thanks.
On Dec 9, 6:00 am, Jeff FW <[EMAIL PROTECTED]> wrote:
> Chris,
>
> It depends on where you're calling random.random(). If you're trying
> to do it in a model definition, then you're always going to
Hello,
when django is running on a server, I want to make a call to:
random.random(). When I make a call to this again, I can't. I think
this related to a similar issue datetime.datetime.now() where you
leave off the () to get a current date each time each time you call
it. If you dont do that, d
se it anywhere you like. My example above which creates a
Is_member permission is used in multiple views so it is not tied to one
specific model.
Hope this helps.
-Chris
On Sun, Dec 7, 2008 at 12:10 AM, mh983 <[EMAIL PROTECTED]> wrote:
>
> What is the best way to create permissions for use
On Dec 5, 4:20 pm, Chris Smith <[EMAIL PROTECTED]>
wrote:
> Any ideas? Is it something silly I've done?
Actually, please ignore this. The exception was firing in user code
due to me forgetting to handle a capture group in a URL regex.
Back to the coffee machine...
response = callback(request, *callback_args,
**callback_kwargs)
Exception Type: TypeError at /
Exception Value: test() takes exactly 1 argument (2 given)
-
Only occurs after i "return None". If the host entry is not found it
works correctly.
Any ideas? Is it something silly I'
We're looking for a great Django/Python developer to join our small
team at ajc.com.
Check out the job posting at Django Gigs [0] or at Craigslist[1].
Here are some of the benefits to working on our team:
* We're a small team -- but full of great people like Maura [2] and
Zellyn [3]
* Our pro
I have been looking into using OpenId and I discovered that there are
to 2 django libraries that handle this: django_openId and
django_authopenid. Any opinions on the two? Not sure which one I
should go with.
--~--~-~--~~~---~--~~
You received this message because y
he
structure:
create table party (
party_id bigserial,
type char(1), -- p = party ... o = organisation
first_name character varying(50),
last_name character varying(50),
name character varying(50),
...
)
Is there something I am missing here?
Many Thanks,
Chris Smith
[1]
htt
OK, got it working. Changed it in .bash_profile. Easier than I
thought, always. Thanks folks.
On Nov 26, 12:50 pm, Chris Amico <[EMAIL PROTECTED]> wrote:
> OK, here's another wrinkle: The modules in that folder import fine on
> the browser end. I put tagging in there, and th
eric
/usr/lib64/python2.4/site-packages/gtk-2.0
/usr/lib/python2.4/site-packages
It looks like I'm not loading either directory here.
I'm using mod_python-3.2.8-3.1
On Nov 25, 10:53 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Nov 26, 5:38 pm, Chris Amico <[EMAIL PROTECTE
I'm happy to announce that the Satchmo team has released Satchmo 0.8.
For those of you not familiar with Satchmo, it is a django-based framework
for building highly customized online stores. One of the major aspects of
this release is full compatibility with Django 1.0.x. This releases includes
ma
25, 10:29 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Nov 26, 5:13 pm, Chris Amico <[EMAIL PROTECTED]> wrote:
>
> > I have a handful of apps in that folder. I can add it to sys.path
> > using sys.path.insert(0, path) and they import fine after, but that
>
I have a handful of apps in that folder. I can add it to sys.path
using sys.path.insert(0, path) and they import fine after, but that
only lasts one session. How do I make it stick?
On Nov 25, 5:28 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-11-25 at 14:55 -08
_CACHE /var/www/vhosts/
redfenceproject.com/.python-eggs
Any help is much appreciated.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
Hello everyone,
I have a quick python question. Is they a better way of calling a
method dynamically then what I have below? Is there a more elegant
approach? Thanks in advance.
try:
push = getattr(self, 'get_%s_content' % self.name)
except AttributeError:
raise "Method does not exist"
if
clear if this would help in my situation. Or do I have to have
one instance of "django-admin.py" running per website?
Thanks for any clarification.
-Chris
PS I found this after some googling, but not sure it is still
relevant/applicable. It's an old post:
http://effbot.org/zone/
will then come out to:
> http://localhost/media/admin/css/dashboard.css
>
> -Jeff
>
> On Nov 16, 11:37 am, Chris <[EMAIL PROTECTED]> wrote:
>> I'm trying to setup my app so it's accessible from a /myapp sub-
>> directory. I defined BASEURL = '/myapp
I'm trying to setup my app so it's accessible from a /myapp sub-
directory. I defined BASEURL = '/myapp' in settings.py, and created a
context preprocessor so this variable is available to all templates. I
then insert this variable at the beginning of all paths for js/css
includes, links, etc.
Ev
I understand what you're saying. It's just unfortunate we're throwing
out the convenience of the dev server.
What's up with http://code.djangoproject.com/ticket/3357 ? Looks like
this idea isn't new.
Chris
On Nov 16, 12:30 am, Malcolm Tredinnick <[EMAIL PROTECTED]&
OTECTED]> wrote:
> On Sun, Nov 16, 2008 at 12:11 AM, Chris <[EMAIL PROTECTED]> wrote:
> > I'm trying to write a basic Ajax app, which submits a file in one long-
> > running request, and periodically polls the status in another request.
> > However, it seems lik
e. Is there any way to make the dev server multi-threaded?
Thanks,
Chris
--~--~-~--~~~---~--~~
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
wrote:
> On Sat, 2008-11-15 at 19:28 -0800, Chris wrote:
> > I'm trying to get my models to show in admin. I've followed
> >http://www.djangobook.com/en/1.0/chapter06/and while I'm able to
> > login to admin and view the Auth and Sites sections, I can't see my
&
bled. Is there some other step the guide's not
mentioning, or some obscure gotcha that would prevent models from
showing in admin?
Thanks,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&
Can anyone point to me a reference to setup mod_python on Apache virtual
host for Django? Or write something about it?
I am able to run my app in Django development server. I am also able to set
up virtual host to display index.html for my website. Now I am ready to move
my Django app to productio
ate matches [a-zA-Z0-9_]
> > but you are trying to match something with dashes in it.
>
> That isn't the issue. The pattern is [-\w], which will also match
> dashes. I'm not sure what is going wrong yet, though, since it looks
> like it shou
Trying out sorl.thumbnail now. Looks like it should do just what I
need. Django-Photologue is impressive, but I think it's more than I
need at the moment.
Thanks folks.
On Nov 5, 12:02 am, David Christiansen <[EMAIL PROTECTED]> wrote:
> It's also worth looking into the sorl.thumbnail library. T
number of
occurrences. The trick with group_by is undocumented, but mentioned
in this blog post by Eric Florenzano:
http://www.eflorenzano.com/blog/post/secrets-django-orm/
Chris
On Nov 11, 7:43 am, chris <[EMAIL PROTECTED]> wrote:
> Thanks Malcolm,
>
> This brings me one step closer
#x27;title', 'title_count')
This query returns only one row, the total count of all titles. What
I am trying to achieve is what the SQL above does, namely aggregating
the titles and give the count for the occurrence of each title.
I wonder if this could be done with the Django ORM?
Ch
ot show
up in the results.
I guess I am doing something wrong, but can't quite figure out what.
Any help appreciated,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" g
t; The file_object now references the file at /myuploads/the_file.txt.
> You can read it etc.
>
> (I personally dislike assignment overloading - that should rightfully
> have reassigned my FileField object to a string, not made a hidden
> mystical call to f
.fcgi sripts - one for serving
Django pages, and one for the authentication. The only difference is
that the authentication one needs to fake up PATH_INFO and configure the
WSGIServer to include FCGI_AUTHORIZER.
Regards,
Chris
--~--~-~--~~~---~--~~
You received
Hi folks,
I'm trying to turn one uploaded image into several: a full-size and
thumbnail (and more, eventually). Here's the model I'm playing with,
just for testing:
class TestPhoto(models.Model):
"This is only for testing. Delete it later and make a real photo
model"
title = models.CharF
Dear Fabio,
That did the trick! I have searched all over the manuals, but must
have overlooked this. It is a bit confusing that this seems to be
different from is_safe and mark_safe, but for the moment I am happy
that its working now. Thanks a lot for pointing it out!
Chris
On Nov 4, 4:06
d.character, d.unicode) for d in obj.vars.all()]))
return mark_safe(safestr)
varchars.short_description = "Variant Characters"
varchars.is_safe = True
However, I still see the HTML markup escaped in the admin client. I
also tried to use an {% autoescape off %} block, but to no avail. Any
help appr
Apparently, something is going wrong with the deletion, which lets
part of the record hang in empty air. But I have no idea where to
look or how to fix this. Does anybody has any idea?
Any help appreciated,
Chris
--~--~-~--~~~---~--~~
You received this message b
Brian,
Thanks for the reply!
On Oct 28, 4:57 pm, Brian Gershon <[EMAIL PROTECTED]> wrote:
> I just ran into this same issue. I eventually figured out that adding
> TEST_DATABASE_NAME to settings.py (to prevent Django from using the
> default memory database for sqlite) works around the issue.
27;'
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
DATABASE_PORT = ''
6. Run tests, get 3 errors (the rest pass):
IntegrityError: django_site.domain may not be NULL
IntegrityError: auth_permission.name may not be NULL
IntegrityError: djang
I posted this on the IRC channel and didn't get a definite answer, but
I'm trying to use the django.contrib.auth Password Reset Form.
Here's the code in the django/contrib/auth/forms.py http://dpaste.com/86595/
In the default templates the template attempts to display the new
password by using {
giAuthenticator to
> authenticate against Django's auth module?
I've done this (I'm using lighttpd). I've put my code in some snippets:
http://www.djangosnippets.org/snippets/1149/
http://www.djangosnippets.org/snippets/1150/
Hope this helps,
Chris
--~--~-~--~
ield(label = _("Places"))
dates = forms.CharField(label = _("Dates"))
works = forms.CharField(label = _("Works"))
As for the paginator, I ended up doing this clumsy thing:
<{% trans "Page"%} {{ results.number }} /
{{ results.paginator.num_pages}}&g
ces", "Dates" and so on, but I can't figure out how to tell the
i18n framework that this should be translated.
Any help appreciated!
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
%}
Otherwise, since it's your object, you could always cache the result of
the query in the object.
Cheers,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
I have a model that is tracking all of the college football games,
there's an entry for each game, with the two teams represented in the
fields 'team1' and 'team2'. These are foreign keys to the model
'CollegeTeams'. I'm trying to run a query so that it'll get the
results from the Game for each te
:
results = Person.objects.filter(reduce(operator.and_, qs))
which is blazingly fast and does exactly what I need. Great!
All the best,
Chris
On Oct 18, 7:46 pm, Christian Joergensen <[EMAIL PROTECTED]> wrote:
> chris wrote:
> > Dear django users,
>
> > Being rather new
ains=names)
etc and then concatenate and execute the whole at the end:
results = Person.objects.filter("|".join(Q.values())
However this does not seem to work. I imagine that this is a rather
frequent requirement, so there should be an easy way to do this, but I
just can't fig
ence, folks.
On Oct 16, 2:43 pm, Chris Amico <[EMAIL PROTECTED]> wrote:
> OK, tried all that, got pretty much the same results:
>
> >> import bookmarks
> >>> dir(bookmarks)
>
> ['__builtins__', '__doc__', '__file__',
that way, or later you will be
> caught by this)
>
> right before the import line throw it in into the debugger:
>
> import pdb; pdb.set_trace()
>
> in the debugger try:
>
> >>> import bookmarks
> >>> dir(bookmarks)
> >>> bookmarks.__fi
ed bookmarks.py
> and its inside a module called bookmarks.py
>
> rename it to bookmarks_tags.py ...
>
> and now
>
> DELETE THE DAMNED OLD bookmarks.pyc file !
>
> python is still finding the old compiled file.
>
> its happened to me twice already in the exact same f
t your bookmarks/models.py ... if that app is
> on your Pyton path, any chance that it's just not listed in your
> INSTALLED_APPS?
>
> On Oct 15, 10:17 am, Chris Amico <[EMAIL PROTECTED]> wrote:
>
> > The templatetag file is indeed called bookmarks.py. I thought of t
e point, I tried just removing the line 'from bookmarks.models
import Bookmark', and the library loaded, but it hit an error
(correctly) when I tried use it, saying Bookmark wasn't defined.
On Oct 14, 11:45 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Oct 15, 7:38 am, Chr
I have a simple bookmarks model based on the one in James Bennett's http://code.google.com/p/cab/source/browse/trunk/models.py?
r=130">Cab application. I'm using a generic relation so it can
live in its own app and a user can bookmark any object on the site
(I'm planning on reusing this app on a c
Thanks.
On Fri, Oct 10, 2008 at 11:37 AM, Carl Meyer <[EMAIL PROTECTED]> wrote:
> RegistrationForm is a normal Form instance. Most errors will be
> attached to specific fields, and thus will be in
> form.field_name.errors, as documented. Errors not associated with any
> particular field are ava
't seem to use any of those.
Chris
On Thu, Oct 9, 2008 at 9:24 AM, Carl Meyer <[EMAIL PROTECTED]> wrote:
>
> You also shouldn't need to write your own form, as the password_change
> view (just like all the others) gives you a template variable "form"
> that
Is there anyway to use {% block %} in an included template?
I have a header template, that's included in a few generic base
templates. I had hoped to declare some global stylesheets/javascript
in the header, along with a {% block header %} tag, to allow other
templates to insert their own depende
I'm simply writing my own at this point, since I can't find a
single example through Google of someone who's used that portion of
registration successfully.
Chris
On Wed, Oct 8, 2008 at 11:26 PM, meppum <[EMAIL PROTECTED]> wrote:
>
> That's odd, I was just about to post
Does anyone know of an example for using
django.contrib.auth.views.password_change?
All the docs seem to mention is how to specify it's template. After
poking around in the code, I found it exposes new_password1 and
new_password2 and I setup a basic form. However, it never redirects to
the defaul
Thanks guys, that fixed the problem.
On Wed, Oct 8, 2008 at 6:37 PM, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> Rishabh Manocha wrote:
>> On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>
>>
I installed django-registration via easy_install, and followed the
directions for setting it up in my app, but when I go to /register, I
get the error:
File "/usr/lib/python2.5/site-packages/django_registration-0.5-
py2.5.egg/registration/views.py", line 12, in
File "/usr/lib/python2.5/site
azon.com/Hierarchies-Smarties-Kaufmann-Management-Systems/dp/1558609202/ref=sr_1_5?ie=UTF8&s=books&qid=1223136111&sr=8-5
>
> J.
>
>
>
>
> On Oct 1, 2:10 pm, "Chris Stromberger" <[EMAIL PROTECTED]>
> wrote:
> > If I can get something working, I&
Dear Karen,
Thank you very much for your response. It was very helpful and solved
my problem!
As I said, I am just beginning with Django, so could not quite
understand where the problem lies. However, I will try to post a more
useful and descriptive phrasing of the problem, including traceback
Yep, that was it. Thanks for the insight.
On Wed, Oct 1, 2008 at 10:14 AM, Erik Allik <[EMAIL PROTECTED]> wrote:
>
> Are you using the MyISAM or InnoDB storage type? MyISAM does not
> support integrity constraints, afaik.
>
> Erik
>
> On 01.10.2008, at 16:44, Chris
If I can get something working, I'll share! Still fiddling around with it.
On Wed, Oct 1, 2008 at 2:48 PM, john Moylan <[EMAIL PROTECTED]> wrote:
> Hi Chris,
>
> I'd love to see your finished code - if you can/want to share?
>
> J
>
> 2008/9/30 Chris S
I have a bunch of fields that I need to check if they have content
added to them. So essentially I want to be able to tell for each entry
into the db that if every field that I need has been filled out, or
not. I want to be able to use this in my queries so that I can get
applications that are com
I have this:
http://dpaste.com/81698/
Which would show the status of the app, based on the field 'status' in
the Model. What I couldn't/can't figure out is how to do it for
multiple fields and also how to not do if it is = to something, just
that if any text is entered into the field then it sho
I'm running MySQL as my backend, and I've noticed Django doesn't
create "real" foreign keys for the ForeignKey column. Just indexes. Is
this by design, or am I somehow misusing ForeignKey()?
I found http://code.djangoproject.com/ticket/5729, which seems to
directly address this. It's marked as "f
think this is a bug,
insofar as it does not work the way it is described in the docs.
All the best,
Chris
On Sep 30, 9:12 pm, felix <[EMAIL PROTECTED]> wrote:
> post the traceback. I may not be able to help you since I haven't
> tried to do person-to-person at all.
>
> it m
OK, nevermind on the admin page issue. Was being caused
by TEMPLATE_STRING_IF_INVALID being set to something other than ''.
Would still love to see an example of contrib.comments + mptt!
Thanks,
Chris
On Tue, Sep 30, 2008 at 4:25 PM, Chris Stromberger <
[EMAIL PROTECTED]> wrote:
the IP address. Etc.
Any ideas on what would cause this? Mptt adds some fields to your model
dynamically, so wondering if this is somehow related.
Any tips appreciated.
Thanks,
Chris
On Tue, Sep 30, 2008 at 2:31 PM, Chris Stromberger <
[EMAIL PROTECTED]> wrote:
> I'm trying to u
mptt.
Thanks,
Chris
--~--~-~--~~~---~--~~
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
We have an online application for school, where we request the
individuals SSN and PharmCAS information. The application will be at
say www.oursite.com/application/. Since we're gathering sensitive
data, I want to obviously make this secure using https:// I don't want
the rest of the site to be on
foreign keys in the Relationship table.
BTW, I forgot to say that this is using the 1.0 release of django.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
desc = models.CharField(max_length=20)
However, when I do this, I get a runtime error complaining about the
two foreign keys.
I wonder how to solve this problem?
Any help appreciated,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed
g any classes, just wondering if there is a way to
inject a class into each tag.
Thanks,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Satchmo - http://www.satchmoproject.com is a Django-based store framework
with several credit card processing modules. Feel free to use that code as
the basis.
-Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I'm trying to debug a usage of callproc, which doesn't return any rows
when used inside Django. Is there anyway to view the SQL and escaped
values sent from db cursor? I found
http://docs.djangoproject.com/en/dev/faq/models/#how-can-i-see-the-raw-sql-queries-django-is-running
by this doesn't show
I have an app that tracks football stats, I'd like to use bar graphs
similar to what's on Everyblock. This is their code:
http://dpaste.com/80211/
I was curious, how, if possible at all, in the template I could get
the percentage for the height.
So, for my first graph, so far I'd have these num
Thanks for the tips. When you use the most recent release on MT,
they're still using 0.96 for some reason.
On Sep 23, 9:30 am, krylatij <[EMAIL PROTECTED]> wrote:
> make sure that you use Django 1.0
> this mechanizm was changed since 0.96
--~--~-~--~~~---~--~~
You
Using the gs and Django container on MediaTemple, got my project
installed, it works when I don't have the admin info in the URLS.py,
when I add all of the info in the URLS.py and go to the site I get
this error:
AttributeError at /
'module' object has no attribute 'autodiscover'
Here's my URLS
On Sep 22, 8:59 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Chris wrote:
> > I have various global values, like SITE_NAME, defined in my
> > settings.py. How would you make settings available inside Flatpage
> > templates? For non-flatpages, I'm currently impor
data gets passed to them, aside from the db
page data?
Thanks,
Chris
--~--~-~--~~~---~--~~
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
I apologize, yes {% load comments %} is in there, he's an updated
version:
http://dpaste.com/78978/
again, the issue is the Invalid block tag: 'render_comment_form'
On Sep 18, 1:21 pm, Dmitry Dzhus <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > actually, that isn't the issue, the iss
actually, that isn't the issue, the issue is with the {%
render_comment_form for event %} tag, i'm getting a template syntax
error:
Invalid block tag: 'render_comment_form'
this is right after the comment_list endfor here:
http://dpaste.com/78918/
On Sep 18, 10:43 am, [EMAIL PROTECTED] wrote
I'm trying to add comments to a page that has the recent blog entires,
below is my code:
http://dpaste.com/78918/
I get the error:
TemplateSyntaxError at /
'get_comment_list' tag requires 5 or 6 arguments
What did I do wrong? I've played with it for about two hours and can't
figure it out...
On Wed, Sep 17, 2008 at 7:40 PM, Malcolm Tredinnick
<[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 2008-09-17 at 19:30 -0500, Chris Stromberger wrote:
> > Disclaimer: Django newbie here.
> >
> > I have a join type of model access in one of my views like
But...the original query already
did the join and could have returned these restaurant fields all in the one
query. Is there some way to force Django to do this? Am I structuring my
model query above, or the models themselves, incorrectly (I can post full
models etc if it would help)?
Thanks f
help if the urlresolvers kept a list of what views it
failed to initialize, so if you hit one it could tell you the lookup
worked, but the subsequent connection to the view didn't.
-- Chris
--~--~-~--~~~---~--~~
You received this message because you are subscrib
One minor question. I'd like to test multiple mod_wsgi Django apps
locally, each accessed like localhost/app*. Can I simply use the above
directives for each app in httpd.conf without using a VirtualHost for
each app?
Chris
On Sun, Sep 14, 2008 at 11:43 PM, Chris Spencer <[EMAIL P
Nevermind. I just found your post on this issue at
http://code.google.com/p/modwsgi/wiki/ConfigurationIssues
On Sun, Sep 14, 2008 at 11:32 PM, Chris Spencer <[EMAIL PROTECTED]> wrote:
> Ok, so this is what I put at the bottom of my httpd.conf:
>
> WSGIDaemonProcess myapp process
process
'myapp' on '/etc/httpd/logs/wsgi.28572.2.1.sock' after multiple
attempts.
Any thoughts? The above is what the docs use as the standard recipe
for running Django with mod_wsgi. Am I missing anything?
Regards,
Chris
On Thu, Sep 11, 2008 at 9:06 PM, Graham Dumpleton
<[
901 - 1000 of 1590 matches
Mail list logo