.domain
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 m
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. O
I usually keep it like this (but note, that I've recently switched to git):
myproject.com
|-myproject
|--app1
|---templatetags
|---templates
|--app2
|--app3
|--templates
|--...
|-static
Some people tend to keep the actual apps in some other directory
(repository) and then symlink to the myprojec
I'm using django-tagging trunk version and it's ok. The last changes
were made 6 days ago, so it looks like it's still maintained.
Matic
On Thu, Sep 4, 2008 at 10:01 PM, Delta20 <[EMAIL PROTECTED]> wrote:
>
> Recent changes in Django have broken diango-tagging, and it looks like
> the django-tag
t yet have the answers but I was just wondering what
the situation will be from now on.
Matic Žgur
On Thu, Sep 4, 2008 at 2:07 AM, James Bennett <[EMAIL PROTECTED]> wrote:
>
> The Django team is pleased to announce the release of Django 1.0 this evening:
>
> Download: http:
whole 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 us
y views.py cleaner? I tried to pass entries directly
to the template but it didn't quite work (maybe I'm missing
something).
I searched the web for some 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.
list 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.
>
>
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):
submitted_b
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:
&
ser_id?
Cheers,
Matic
On Jan 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 t
entry = 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]
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 n
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?
>
>
?P\d{4})/(?P\d{1,2})/(?P\d{1,2})/(?P[-\w]+)/$',
'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
Doe
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 po
admit, 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 Group
PM, bruno 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 HT
18 matches
Mail list logo