You were rightthe error resolved when I removed curly braces from the
if statement. Thanks alot !!
On 01-Jun-2019 11:26 am, "sagar ninave" wrote:
> you do not have ended for loop
>
> On Fri, May 31, 2019 at 7:41 PM anchal agarwal
> wrote:
>
>> I am creating a simple form in which when a user
you do not have ended for loop
On Fri, May 31, 2019 at 7:41 PM anchal agarwal
wrote:
> I am creating a simple form in which when a user will select a particular
> song and press Favorite button a star image will get pop up in front of
> that song.
> But it is showing TemplateSyntaxError.
> Pleas
Hi Piyush,
Welcome to community!
Can you please give us your template snipped?
Regards,
On Sat, Aug 13, 2016 at 6:48 AM, Piyush Rungta
wrote:
> Hello this is my first time here.
> So I am trying to create directory index to serve static files uploaded by
> users by using inbuilt view by addi
God damn. That was it - something silly and obvious, but only to a fresh
set of eyes. Thank you!
On Sat, Jul 9, 2016 at 6:44 PM, James Schneider
wrote:
>
> On Jul 9, 2016 6:38 PM, "Malik Rumi" wrote:
> >
> >
> > Invalid template name in 'extends' tag: ''. Got this from the
> 'baseX.html' variab
On Jul 9, 2016 6:38 PM, "Malik Rumi" wrote:
>
>
> Invalid template name in 'extends' tag: ''. Got this from the
'baseX.html' variable.
>
> The first line in index.html is:
> {% extends baseX.html %}
>
Try adding quotes around "baseX.html", your referring to it as a variable,
not as the name of th
On Fri, Nov 13, 2015 at 12:14 AM, James Schneider
wrote:
> On Thu, Nov 12, 2015 at 5:10 AM, Jose Paul wrote:
>>
>> I am just running DJango 1.8 test cases ,here is start of the error trace
>
> I suspect one of your tests is rendering a template. Do you have a reference
> to a template tag anywher
On Thu, Nov 12, 2015 at 5:10 AM, Jose Paul wrote:
> I am just running DJango 1.8 test cases ,here is start of the error trace .
>
> =
> ERROR: test_load06 (template_tests.syntax_tests.test_load.LoadTagTests)
> ---
I am just running DJango 1.8 test cases ,here is start of the error trace .
=
ERROR: test_load06 (template_tests.syntax_tests.test_load.LoadTagTests)
--
Traceback
On Nov 11, 2015 4:33 AM, "Jose Paul" wrote:
>
>getting following error ,can someone help me to understand this
>
> .
> compiled_result = compile_func(self, token)
> File "C:\Python27\lib\site-packages\django\template\defaulttags.py",
line 1140, in load
> (taglib, e))
> TemplateSy
On 05/03/15 17:23, Carsten Fuchs wrote:
If you use single quotes and render the template, it outputs 'Hello',
not 'Hello, how are you?' as expected.
As expected? Why please? Docs say that with single or double quotes, the
values are treated as string literals.
Sorry, I wasn't clear. By 'as ex
Hi Vijay, hi Alasdair,
many thanks for your quick replies!
I've thus just filed a bug: https://code.djangoproject.com/ticket/24451
Am 05.03.2015 um 17:53 schrieb Alasdair Nicol:
I think the reason is that the cycle tag supports an older syntax for
backwards compatibility reasons.
Yes, that wa
Hi Carsten, Vijay
On 05/03/15 16:24, Carsten Fuchs wrote:
> Dear Django fellows,
>
> using Django 1.7.5, I have a problem with commas in string literals in
> the cycle tag, e.g. with
>
> {% cycle "Hello, how are you?" "Fine!" %}.
I can reproduce the problem with your sample code.
I think t
On 05/03/15 16:53, Alasdair Nicol wrote:
{% with hello="Hello, how are you?"
{% cycle hello "Fine!" %}.
{% endwith %}
Oops, that should have read:
{% with hello="Hello, how are you?" %}
{% cycle hello "Fine!" %}.
{% endwith %}
--
Alasdair Nicol
Developer, MEMSET
mail: alasd...@memset.com
we
Changing the double quotes for single quotes seems to do the trick, but I
don't know why it works
On Thu, Mar 5, 2015 at 1:24 PM, Carsten Fuchs wrote:
> Dear Django fellows,
>
> using Django 1.7.5, I have a problem with commas in string literals in the
> cycle tag, e.g. with
>
> {% cycle "He
Den 08/10/2014 kl. 06.04 skrev Petar Pilipovic :
> Hi all, I am currently under going a blog tutorial from
> http://matthewdaly.co.uk/blog/2014/01/02/django-blog-tutorial-the-next-generation-part-2/,
> and I am stuck whit makrdown, I am aware that Django not supporting it any
> more, but to kee
Its also important to use {% endifequal %} So...went passing to HTML
templates
{% ifequal rowvalue "Blue" %}
Its Blue
{% endifequal %}
L.
On Sunday, 3 January 2010 17:34:22 UTC, Biju Varghese wrote:
>
> hi
>If you want to compare the value you have to use ifequal or
> ifnotequal tag in
It sure seems like #2 that I mentioned before is the issue. Your context
processor is overriding the 'user' template context variable that the admin
uses. I just looked at some admin templates and they definitely use the
'user' variable. Name it something else or add logic to the context
process
On Tue, Dec 20, 2011 at 11:09 PM, Divick Kishore
wrote:
> On Wed, Dec 21, 2011 at 6:04 AM, Branton Davis
> wrote:
> > It sounds like your custom user template context variable might be
> causing a
> > conflict with the default if you're also using django.contrib.auth
> (which is
> > what the admi
Hi Branton,
On Wed, Dec 21, 2011 at 11:09 AM, Branton Davis wrote:
>
> That stack trace is unrelated to the other problem. Somewhere (guessing
> gifts/urls.py) you've referenced a view
> at gifts.views.ajax_handle_wishinvite, which doesn't exist. Check
> gifts/views.py for a method named 'ajax_
On Dec 21, 7:05 am, Karen Tracey wrote:
> People would be able to help you more effectively if you included the stack
> trace that goes with the exception.
>
> Karen
> --http://tracey.org/kmt/
The stack trace for the error is:
ERROR Caught AttributeError while rendering: 'User' object has no
at
On Wed, Dec 21, 2011 at 6:04 AM, Branton Davis wrote:
> It sounds like your custom user template context variable might be causing a
> conflict with the default if you're also using django.contrib.auth (which is
> what the admin uses by default). I'm guessing that the admin
> views/templates use
People would be able to help you more effectively if you included the stack
trace that goes with the exception.
Karen
--
http://tracey.org/kmt/
--
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@g
That did it! Thanks =)
On Oct 8, 4:49 pm, Shawn Milochik wrote:
> See your urlpatterns section that has the prefix 'myapp.views.' It's at the
> bottom of your e-mail.
>
> You have some stuff in there that doesn't belong there. It should be broken
> out into another "urlpatterns += patterns(...)"
See your urlpatterns section that has the prefix 'myapp.views.' It's at the
bottom of your e-mail.
You have some stuff in there that doesn't belong there. It should be broken
out into another "urlpatterns += patterns(...)" section that has no prefix
or the correct prefix.
--
You received this me
On Thu, Feb 10, 2011 at 9:10 AM, hank23 wrote:
> So when I go to build the entries for my drop down list then I would
> iterate over the query results like you suggested and at that point
> where I iterate over the results then I can also set the different
> select option attributes (html option t
So when I go to build the entries for my drop down list then I would
iterate over the query results like you suggested and at that point
where I iterate over the results then I can also set the different
select option attributes (html option tag attributes - value and
visible-choice) to the variou
all() is a method on a Manager instance, that returns a QuerySet
containing every row in the table, without filtering. It is used
because you can't iterate over a Manager, only over a QuerySet.
As an example, if MyModel is a model, then MyModel.objects is a
Manager. If you tried to do this in pyth
hi there hank23
to fix the problem you just need to send the queryset parameter to the
constructor of the ModelChoiceField
pollquestions = forms.ModelChoiceField(queryset=SomeModel, ...other
stuff...) works but
pollquestions = forms.ModelChoiceField(...other stuff without
queryset...) raises the
The addchoice screen (addchoice.html) code follows below. I included
it just in case something might be wrong with it that could be related
to or causing this problem, because some of its code is also doing
some new things that I've not done before, so there are likely errors
in it as well. Here's
OK here's the entire views.py code:
# Create your views here.
from django.http import Http404
from django.shortcuts import render_to_response, get_object_or_404,
get_list_or_404
from django.http import HttpResponseRedirect, HttpResponse
from django.core.urlresolvers import reverse
from django.t
Hi,
> Near the top of my views.py I do have "from django import forms", so
> I'm guessing that based on previous comments that this is ok. Do I
> also need to import my specific named-form which IO created for the
> new screen/view from my polls.forms.py module? If so is this syntax
> correct:
>
Near the top of my views.py I do have "from django import forms", so
I'm guessing that based on previous comments that this is ok. Do I
also need to import my specific named-form which IO created for the
new screen/view from my polls.forms.py module? If so is this syntax
correct:
from polls.forms
Hi,
> TemplateSyntaxError at /admin/
> Caught ViewDoesNotExist while rendering: Tried addchoice in module
> polls.views. Error was: 'module' object has no attribute 'form'Request
> Method: GET
> Request URL: http://127.0.0.1:8000/admin/
> Django Version: 1.2.4
> Exception Type: TemplateSyntaxError
On 27 November 2010 14:12, Vyrphan wrote:
> Hi there mates,
>
> I've created a new site, and all is running ok. Last step in my
> development plan was to add support for internacionalization (by now,
> only 2 languages)
>
> I just added blocktrans in my templates in several places, and i'm
> getti
Hello
i have removed from {% load humanize %} from my mail activation code..
then it's given me below error
Thanks
Prakash
On Sep 30, 5:56 pm, Daniel Roseman wrote:
> On Sep 30, 1:14 pm, prakashadm wrote:
>
> > Hello friends,
>
> > I have getting below error
>
> > TemplateSyntaxError at /accoun
On Sep 30, 1:14 pm, prakashadm wrote:
> Hello friends,
>
> I have getting below error
>
> TemplateSyntaxError at /accounts/register/
>
> Invalid filter: 'apnumber'
>
> i am working on simple user registration of page.any budy have idea
> abt it?
>
> http://www.stonemind.net/blog/2007/04/13/django-
On Tue, Apr 6, 2010 at 2:17 AM, Martin Lundberg
wrote:
> Ah, great! Do you know the ticket or changeset for it? Curious to peek and
> learn a little :)
>
http://code.djangoproject.com/ticket/11461
Karen
--
You received this message because you are subscribed to the Google Groups
"Django users
Ah, great! Do you know the ticket or changeset for it? Curious to peek and
learn a little :)
On Mon, Apr 5, 2010 at 2:23 PM, Karen Tracey wrote:
> 2010/4/5 Tomasz Zieliński
>
>> that 'raise wrapped' line is placed in catch-all handler, which
>>
>> means that
>> probably some of your code called
2010/4/5 Tomasz Zieliński
> that 'raise wrapped' line is placed in catch-all handler, which
> means that
> probably some of your code called during template rendering is
> broken,
> Django catches it and re-raises as TemplateSyntaxError which,
> unfortunately,
> is vague about ther real problem.
Thanks Thomasz! You were correct. It was my __unicode__ function in my model
which did something wrong.
2010/4/5 Tomasz Zieliński
>
>
> On 5 Kwi, 10:25, Martin Lundberg wrote:
>
> > File "/home/marlun/.virtualenvs/django/lib/python2.6/site-packages/
> > django/template/debug.py" in render_node
On 5 Kwi, 10:25, Martin Lundberg wrote:
> File "/home/marlun/.virtualenvs/django/lib/python2.6/site-packages/
> django/template/debug.py" in render_node
> 81. raise wrapped
>
> Exception Type: TemplateSyntaxError at /admin/timetrack/work/
> Exception Value: Caught an exception whi
2010/3/30 Karen Tracey
> On Tue, Mar 30, 2010 at 5:45 PM, Alessandro Pasotti wrote:
>
>> Hello,
>>
>>
>> Exception Type: TemplateSyntaxError at
>> /resource/news/un-nuovo-ostello-sulla-francigena/
>> Exception Value: Caught UnicodeEncodeError while rendering: 'ascii' codec
>> can't encode charact
On Tue, Mar 30, 2010 at 5:45 PM, Alessandro Pasotti wrote:
> Hello,
>
> I need some help with a strange problem, the traceback says:
>
>
> File "/usr/lib/python2.5/site-packages/django/core/files/storage.py" in
> size
> 216. return os.path.getsize(self.path(name))
> File "/usr/lib/python
I get the same error in the admin interface after manually removing a
field from one of my classes. I removed it in models.py and in the
database. The class in question works fine, but for some reason a
dependent class (one that refers to the other with a foreign key) has
it's admin form broken.
On Sun, Jan 31, 2010 at 2:39 PM, Martin J. Laubach
> wrote:
> > 1.(r'^admin/', include(admin.site.urls)),
>
> That looks like it.
>
No, that is the correct way to specify admin urls for 1.1 and up. No quotes
around admin.site.urls.
One way the reported error can happen is when what is in
> 1. (r'^admin/', include(admin.site.urls)),
That looks like it.
> I tried putting include('admin.site.urls')) but it could not find
> 'admin.site.urls'
Do you have 'django.contrib.admin' in INSTALLED_APPS?
mjl
--
You received this message because you are subscribed to the Goog
In my urls.py I see only two possible places where I do not have
quotes,
1.(r'^admin/', include(admin.site.urls)),
I tried putting include('admin.site.urls')) but it could not find
'admin.site.urls'
2. (r'^register/$', register,{'opensource':True}),
True is not in quotes. But it is workin
> Caught an exception while rendering: 'module' object has no attribute
> 'rindex'
Sounds you are using foo.bar instead of 'foo.bar' somewhere (ie.
module instead of string).
mjl
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
hi
If you want to compare the value you have to use ifequal or
ifnotequal tag in template language. if you use "if"
this will check only weather the variable is empty or not
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On Jan 2, 2010, at 8:54 PM, Ramiro Morales wrote:
> On Sat, Jan 2, 2010 at 10:33 PM, dhruvg wrote:
>>
>> Could you elaborate?
>> The documentation indicates that complex expressions follow Python
>> exactly.
>
> I suspect you are using django 1.1.x and reading theDjango SVN trunk
> documentati
On Sat, Jan 2, 2010 at 10:33 PM, dhruvg wrote:
>
> Could you elaborate?
> The documentation indicates that complex expressions follow Python
> exactly.
I suspect you are using django 1.1.x and reading theDjango SVN trunk
documentation.
--
Ramiro Morales | http://rmorales.net
--
You received
Could you elaborate?
The documentation indicates that complex expressions follow Python
exactly.
or
and
not
in
==, !=, <, >,``<=``, >=
(This follows Python exactly). So, for example, the following complex
if tag:
{% if a == b or c == d and e %}
..will be interpreted as:
(a == b) or ((c == d) and
The problem is that you're using Python syntax instead of template tags.
http://docs.djangoproject.com/en/dev/ref/templates/builtins/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroup
Never mind. Me am a moron. Had a totally different programming error
elsewhere. It works as is it should.
On Dec 17, 4:12 pm, Chris Curvey wrote:
> I have my class definition that looks like
>
> class Foo:
> def get_bars(self):
> bars = []
> # do something to collect bar instan
On Nov 10, 3:02 pm, Zeynel wrote:
> Thanks. I will try what you suggested. But I am almost there with the
> admin, the only thing is I need to change the date format so that it
> takes only the year. Now DateField requires month, day and year. I
> tried this
>
> year_graduated = models.DateField(
Thanks. I will try what you suggested. But I am almost there with the
admin, the only thing is I need to change the date format so that it
takes only the year. Now DateField requires month, day and year. I
tried this
year_graduated = models.DateField('Year graduated', input_formats=
['%Y'])
as i
When you execute manage.py sql wkw, the output is just how your
current models translate into SQL. To see what's actually in the
database you should do manage.py dbshell and then use whatever command
your database supports (\d wkw_lawyer in PostgreSQL and DESCRIBE
wkw_lawyer in MySQL).
Try doing
Ok, thanks. I started over and created a new project sw1 and module
wkw1, and now it all works. But now I noticed that, the "initial"
field in "Lawyer" is required. But I want it to be optional. Do I need
to start over again to make that change :(
And also in the "Year Graduated" field I just nee
On Nov 10, 12:57 pm, Zeynel wrote:
> Hi Tim,
>
> Yes, I syncdb several times.
>
> C:\sw\sw>manage.py syncdb
>
> C:\sw\sw>manage.py sql wkw
>
> BEGIN;
> CREATE TABLE "wkw_school" (
> "id" integer NOT NULL PRIMARY KEY,
> "school" varchar(200) NOT NULL
> )
> ;
> CREATE TABLE "wkw_lawyer" (
>
Hi Tim,
Yes, I syncdb several times.
C:\sw\sw>manage.py syncdb
C:\sw\sw>manage.py sql wkw
BEGIN;
CREATE TABLE "wkw_school" (
"id" integer NOT NULL PRIMARY KEY,
"school" varchar(200) NOT NULL
)
;
CREATE TABLE "wkw_lawyer" (
"id" integer NOT NULL PRIMARY KEY,
"school_id" integer
> (I changed "Education" to "School" because in the admin panel it
> showed up as "Educations". I think "Schools" makes more sense.)
Did you remember to syncdb afterwards? I'd be interested to see
if the SQL you showed is what the tables in the DB actually look
like.
> Any ideas why Lawyer li
2009/9/24 Brian McKeever
>
> I would write a custom tag that wraps ugettext but checks for None.
>
> http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#writing-custom-template-filters
> http://docs.djangoproject.com/en/dev/topics/i18n/#standard-translation
>
> On Sep 24, 10:14 am, F
I would write a custom tag that wraps ugettext but checks for None.
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#writing-custom-template-filters
http://docs.djangoproject.com/en/dev/topics/i18n/#standard-translation
On Sep 24, 10:14 am, Florian Schweikert
wrote:
> Hello,
>
>
Yes you were right, silly me! Thanks eheh
On 28 Aug, 14:12, Karen Tracey wrote:
> On Aug 28, 7:57 am, "s.molinari" wrote:
>
> > Hiya!
> > I tried to access the django admin page and I got that error. How do i
> > fix it? I am stuck...
> > I am new at using django as well... just to let you know
On Aug 28, 7:57 am, "s.molinari" wrote:
> Hiya!
> I tried to access the django admin page and I got that error. How do i
> fix it? I am stuck...
> I am new at using django as well... just to let you know ;)
>
> [snip]
> Exception Type: TemplateSyntaxError at /admin/
> Exception Value: Caught an e
Problem solved!!!
On Jul 10, 5:41 pm, nixon66 wrote:
> Getting errors when I try to render a template. Django indicates that
> it is a problem in the template and tells me that there is no such
> column as "aid.id". There is no column called ID in either my
> template, view or model. Any suggest
SOLVED. It was a wrong URL mapping, in the frontend, that I was not
seing, and the stack trace didn't give me a clue of where it was...
but thanks, anyway...
Diogo
On Jul 9, 3:35 am, diogobaeder wrote:
> I searched for this kind of error in this group, but there were only
> old posts, from when
You can do validation inside the template to check the data
and raise errors accordingly. You can also check the data
so you should be able to check if instance.property.id is
a valid value and then only use it, if it is. It all comes down
to how you would like your template tag to function. In so
Nevermind! I figured it out.
Just for reference for those with a similar problem:
"extends" and "include" aren't part of 'Template' and must be
separately included:
from django.template import Template, Context, loader
from django.http import HttpResponse
def render(request):
admin_te
Thanks BN, your intuition was spot on. It was a python path problem.
Adding the following line to my dispatch.fcgi file did the trick.
sys.path += ['/path/to/my/project']
It seems that "manage.py runserver" took care of this in my dev
environment, so the issue didn't come up.
On Apr 16, 10:43
On Apr 16, 11:33 am, Aneesh K wrote:
>
> Why is the TemplateSyntaxError raised, and why don't I see this
> problem on my development server?
>
> Thanks!
> Aneesh
Could be a python path problem? Put the directory that has your
application in it on the python path. I think when you do the
manage.p
Indeed I am using 1.0.
Thanks for the info regarding the admin urls.
--~--~-~--~~~---~--~~
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 unsubs
On Tue, 2009-03-17 at 18:03 -0700, PaulE wrote:
> Malcolm,
>
> Thanks for the quick reply.
> Problem solved - after reading your reply.
> I changed
> (r'^cms/(.*)', include('cms.urls')),
> to
> (r'^cms/', include('cms.urls')),
> and it works fine.
>
> I still don't quite understand b
On Tue, Mar 17, 2009 at 9:03 PM, PaulE wrote:
>
> Malcolm,
>
> Thanks for the quick reply.
> Problem solved - after reading your reply.
> I changed
>(r'^cms/(.*)', include('cms.urls')),
> to
>(r'^cms/', include('cms.urls')),
> and it works fine.
>
> I still don't quite understand beca
Malcolm,
Thanks for the quick reply.
Problem solved - after reading your reply.
I changed
(r'^cms/(.*)', include('cms.urls')),
to
(r'^cms/', include('cms.urls')),
and it works fine.
I still don't quite understand because this *admin* url works fine
http://localhost:8000/admin/
wh
On Tue, 2009-03-17 at 16:47 -0700, PaulE wrote:
> All,
>
> I am
> - learning python and django simultaneously.
> - an experienced developer
> - a bit frustrated
>
> While working my way through
> "Python Web Development with Django"
> I stumble on a TemplateSyntaxError when trying to
> view
Thanks for your replies, It worked.
On Mar 8, 6:16 pm, Malcolm Tredinnick
wrote:
> On Sun, 2009-03-08 at 18:01 -0700, juanefren wrote:
> > Right I would mean 1.1 alpha. Looking with more details I found that
> > error only appears when I use my class __str__ method, for example in
> > my Address
On Sun, 2009-03-08 at 18:01 -0700, juanefren wrote:
> Right I would mean 1.1 alpha. Looking with more details I found that
> error only appears when I use my class __str__ method, for example in
> my Address Class I have
>
> class MyClass(models.Model):
> string1 = models.CharField(max_length
Right I would mean 1.1 alpha. Looking with more details I found that
error only appears when I use my class __str__ method, for example in
my Address Class I have
class MyClass(models.Model):
string1 = models.CharField(max_length = 100, null=True)
string2 = models.CharField(max_length = 1
On Sat, Mar 7, 2009 at 3:07 PM, juanefren wrote:
>
> I am using django 1.1 and MYSQL 5.0 with collation utf8_unicode_ci
>
Django 1.1 doesn't exist yet, so I guess you are either running 1.1 alpha1
or an SVN trunk checkout. I doubt the specific version really matters here
(since full unicode s
On Dec 10, 8:52 pm, Milan Andric <[EMAIL PROTECTED]> wrote:
> I'm getting one of those bubbly exceptions coming through the template
> that are tricky to debug.
>
> TemplateSyntaxError at /
> Caught an exception while rendering: Could not import
> journalism_mm.workshops.views. Error was: No mod
On Sep 15, 7:33 pm, SnappyDjangoUser <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> I am receiving an obscure TemplateSyntaxError (Caught an exception
> while rendering: coercing to Unicode: need string or buffer, long
> found ) when rending a ModelForm that has a foreign key back to a
> specific tabl
2008/9/4 KillaBee <[EMAIL PROTECTED]>
>
> At the site admin, when I click on the add user I get this error.
>
> TemplateSyntaxError at /admin/auth/user/add/
>
> Invalid block tag: 'include_admin_script'
>
> Request Method: GET
> Request URL:http://10.0.0.20:8000/admin/auth/user/add/
>
On Sep 4, 3:53 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 4, 2008 at 10:00 AM, simong <[EMAIL PROTECTED]> wrote:
> > It might have been in part a caching problem in Firefox: to clarify,
> > I'm testing this on my laptop running Ubuntu 8.04 using apache2 with
> > local name resol
On Thu, Sep 4, 2008 at 10:00 AM, simong <[EMAIL PROTECTED]> wrote:
> It might have been in part a caching problem in Firefox: to clarify,
> I'm testing this on my laptop running Ubuntu 8.04 using apache2 with
> local name resolution using names against localhost, which is fairly
> non-standard but
On Sep 4, 2:02 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 4, 2008 at 7:04 AM, simong <[EMAIL PROTECTED]> wrote:
>
> > I am trying to migrate a project to 1.0 and I'm currently updating the
> > admin system. When I try to load the /admin/ URL I get this error:
>
> > Exception Type:
On Thu, Sep 4, 2008 at 7:04 AM, simong <[EMAIL PROTECTED]> wrote:
>
> I am trying to migrate a project to 1.0 and I'm currently updating the
> admin system. When I try to load the /admin/ URL I get this error:
>
> Exception Type: TemplateSyntaxError
> Exception Value:Caught an exce
El Sun, 13 Apr 2008 19:42:19 -0300
"Ramiro Morales" <[EMAIL PROTECTED]> escribió:
>
> On Sun, Apr 13, 2008 at 7:36 PM, Gonzalo Delgado
> <[EMAIL PROTECTED]> wrote:
> > Hi there, I'm trying to move my django projects to 0.97-pre (trunk). The
> > first error I get is this one (when trying to load
On Sun, Apr 13, 2008 at 7:36 PM, Gonzalo Delgado
<[EMAIL PROTECTED]> wrote:
> Hi there, I'm trying to move my django projects to 0.97-pre (trunk). The
> first error I get is this one (when trying to load the admin interface in a
> small project):
>
> TemplateSyntaxError at /admin
> Template u
On Fri, Apr 4, 2008 at 7:25 AM, Simone Cittadini <[EMAIL PROTECTED]>
wrote:
>
> When my app throws some exception I'm no more viewing the nicely
> formatted html.
> Actually I'm no more viewing the trace of the exception, all I see, no
> matter what the error is, is attached below:
> (I haven'
I found the poster at the devshed article is only partially right. It
is those directories that are missing, but you need them from the .96
version. I found them here:
http://code.djangoproject.com/browser/django/branches/0.96-bugfixes/django/contrib/admin
On Mar 25, 10:53 am, jmDesktop <[EM
Just sorted it out.
I've added the template's root dir to TEMPLATE_DIRS and started simply
using:
{% extends "common/searchForm.html" %}
cheers,
Filipe
On Sep 19, 5:31 pm, Filipe Correia <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've svn updated my working copy of django and started getting the
>
Thanks
On 8/8/05, Brantley <[EMAIL PROTECTED]> wrote:
> Here's my conf, if you'd like, and everything's pointing to the correct
> location, I know that it's not the tutorial suggested directory layout:
Check out the "Multiple Django installations on the same Apache"
section on this page:
http://www.djan
Yessir, running both with Apache and mod_python.
Here's my conf, if you'd like, and everything's pointing to the correct
location, I know that it's not the tutorial suggested directory layout:
ServerAlias magic.deadwisdom.com
ServerSignature On
SetHandler python-program
PythonHandler dja
On 8/8/05, Brantley <[EMAIL PROTECTED]> wrote:
> I keep getting a TemplateSyntaxError randomly. When I'm working with
> the admin side of my site, I'll often get this error
> "TemplateSyntaxError: Template 'base_site' cannot be extended, because
> it doesn't exist". It's entirely random, so I ca
96 matches
Mail list logo