javascript statement but it somehow doesn't work for me.
Did anyone have similar problems or has any idea how to solve it?
Thanks,
Matic Žgur
[1] https://developer.mozilla.org/En/Same_origin_policy_for_JavaScript
--~--~-~--~~~---~--~~
You received this message becaus
page cached, now I
only cache post so the whole page has to render again. Is it true?
What is the best way to not cache comments?
Thanks,
Matic Žgur
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
Hi,
is there a way to pass an argument from urls.py to inclusion tag?
For example, if I have a custom inclusion tag that prints some links
to some pages and I don't want it to print the link to the page I'm
currently visiting, how would I do it?
Let's say that I'm visiting a page /posts/2008.
desthuilliers
<[EMAIL PROTECTED]> wrote:
>
>
>
> On 8 juil, 18:02, "Matic Žgur" <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm working on some project, a part of which is a small blog app. All
>> the blog posts are saved as HTML (using TinyM
, that I feel a bit uncomfortable saving html to the
database - it just doesn't seem right to me. So, what is your opinion
on this matter?
Thanks,
Matic Žgur
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
Ok, I solved it. Wrong TIME_ZONE in settings.py. :)
On Tue, Jun 10, 2008 at 12:27 PM, Matic Žgur <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some problems with the date based generic view. I'll just paste
> the code bellow:
>
> views.py
>
> def post_de
]+)/$',
'post_detail'),
)
I can't find any error above, but when I try to access
http://localhost:8000/blog/2008/06/10/first-post 404 page is returned
with the following error:
No found for
Does anyone know what could be the problem?
Thanks,
Matic Žgur
I'm using Ubuntu, vim, sqlite3, svn and Django development server.
Matic Žgur
On Fri, May 16, 2008 at 2:59 PM, Almir Karic <[EMAIL PROTECTED]> wrote:
>
> On Fri, May 16, 2008 at 12:24 PM, JonSidnell <[EMAIL PROTECTED]> wrote:
>> What works for you?
>
> deb
I use Sqlite3 for development because it already comes installed with
Ubuntu. I used to use Apache and MySQL, but it didn't make much sense
using that since Django development server and Sqlite3 handle serving
quite well and are quite lightweight.
To start using Sqlite you just have to create a
= mark_safe(entry.entry)
return render_to_response('todo.html', {'entries': entries})
If anyone knows a better way, please let me know. I'm quite new in
Django and I could use a good piece of advice.
Thanks,
Matic
On Jan 24, 2008 11:30 PM, Matic Žgur <[EMAIL PROTECTED]> wrote:
> Hmm, it's
24, 2008 11:21 PM, Matic Žgur <[EMAIL PROTECTED]> wrote:
> I solved this. I was passing a string instead of number (id of the
> user in user table) to submitted_to. Does anyone know if there is a
> better way of doing this, like passing a username to the foreignfield?
>
I solved this. I was passing a string instead of number (id of the
user in user table) to submitted_to. Does anyone know if there is a
better way of doing this, like passing a username to the foreignfield?
Thanks,
Matic
On Jan 24, 2008 11:03 PM, Matic Žgur <[EMAIL PROTECTED]> wrote:
&
Hello everybody,
I'm getting an error trying to get a QuerySet object. I've just
started to work on a small ToDo list but I can't move on since I keep
on getting "Truncated incorrect DOUBLE value: 'matic'" error.
My model for the entry looks like this:
class Entry(models.Model):
comprehensions (I guess I still have some
habits from PHP).
Cheers,
Matic Žgur
On Jan 10, 2008 6:04 PM, David Grant <[EMAIL PROTECTED]> wrote:
> I think you should be able to access the query sets directly in your
> template. Not sure why that didn't work for you.
>
> Here th
ome examples, but it's hard to find apps that
don't use generic views (at least I didn't find them), so I decided to
ask here.
Thanks
Matic Žgur
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" g
15 matches
Mail list logo