Haven't started by i18n yet but rosetta looks good:
http://code.google.com/p/django-rosetta/
bittin wrote:
> i also use PoEdit =)
>
> On Fri, Jun 19, 2009 at 11:05 PM, Joshua Russo
> mailto:joshua.rupp...@gmail.com>> wrote:
>
>
> I started using PoEdit but it seems to thing that the .po fil
that should be
@login_required
def index(request):
...
as far as i know, pretty sure your () are the problem
Asinox wrote:
> Hi guys, im trying to use the login and logout functions of Django,
> but my @login_required() dont work, dont redirecto to the login form
> and show the view where the
Is there a builtin way in django to get a list of other users who are
currently visiting a website or even a specific part of a website? If
not are there any tools that I could use to implement this or do I have
to think of a solution from scratch?
--~--~-~--~~~---~
Maybe a good question would be is there any IDE that supports the django
template language? Because I use eclipse (pydev+webtools) but I really
dislike it that it complains about my HTML files being invalid because
of the django tags. Also a highlighting mode might reduce the amount of
errors
use: {{ object.body|slice:":30" }}
When ideas fail wrote:
> Hi, If i am using something like {{object.body}} is it possible to
> limit the number of characters being printed out. So say you wanted 30
> characters, it would print the 30 and ignore the rest.
>
> Thanks,
>
> Andrew
> >
>
--~--~
In my opinion writing it in django/html/... is a lot easier and faster
than doing it in a real python GUI tool. Also you have the networking in
your LAN taken care of by the browser.
snfctech wrote:
> One more question: Any advantage to just using a Python GUI toolkit
> instead?
>
> On Aug 12
le my multiple DB
>> connections, with read/write fields from different DB producs/ servers
>> on the same view (most of which will hopefully be ODBC compliant, but
>> some might not)?
>>
>> On Aug 12, 11:32 am, Jonas Obrist wrote:
>>
>>
>>> In
Hi djang-users
Is anyone using psyco in django? Does it work and is it useful (as in:
do you get great speed improvements)?
Jonas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
Torsten Bronger wrote:
> Hallöchen!
>
> Jonas Obrist writes:
>
>
>> Is anyone using psyco in django? Does it work and is it useful (as
>> in: do you get great speed improvements)?
>>
>
> I've once seen a benchmark indicating considerable imp
Matthias Kestenholz wrote:
> On Thu, Aug 13, 2009 at 5:35 PM, Jonas Obrist wrote:
>
>> Torsten Bronger wrote:
>>
>>> Hallöchen!
>>>
>>> Jonas Obrist writes:
>>>
>>>
>>>
>>>> Is anyone usin
Igor Sobreira wrote:
>
>
> On Thu, Aug 13, 2009 at 12:35 PM, Jonas Obrist <mailto:ojiido...@gmail.com>> wrote:
>
>
> Torsten Bronger wrote:
> > Hallöchen!
> >
> > Jonas Obrist writes:
> >
> >
> >>
Igor Sobreira wrote:
>
>
> On Thu, Aug 13, 2009 at 2:50 PM, Jonas Obrist <mailto:ojiido...@gmail.com>> wrote:
>
> [...]
> > >
> Caching isn't really an options since I only have VPS with very
> little
> RAM and from readi
Hi django-users
I try to do as much as I can in ORM without python looping etc. So I
wonder if the following code could be done in one update:
for parent in thread.forum.allparents.all():
parent.postcount += 1
parent.lastpost = post
parent.save()
Basically do something like:
threa
When ideas fail wrote:
> Hello, i know you can have things like {% if forloop.last %}
> but is it possible to have an if statement that matches the value of a
> forloop counter
> so it would be like:
>
> {% if forloop.counter = 6 % }
>
> or similar and how could i do that?
>
> Thanks
>
> >
>
{%
Alex Gaynor wrote:
> On Thu, Aug 13, 2009 at 2:51 PM, Jonas Obrist wrote:
>
>> Hi django-users
>>
>> I try to do as much as I can in ORM without python looping etc. So I
>> wonder if the following code could be done in one update:
>>
>>
snfctech wrote:
> I currently know zero Python and want to start a project with Django
> ASAP. I've got the opportunity through my work to either take a 5-day
> Python bootcamp or a Django bootcamp - not both.
>
> I don't anticipate having a whole bunch of time to brush up on Python
> before the
I try to get django (1.0.2) to run on a shared hosting (with python
2.5.2) through fcgi (with flup 1.0.2).
I've written a very simple app to test this:
/myproject/settings.py: http://dpaste.com/80556/
/myproject/urls.py: http://dpaste.com/80557/
/myproject/home/views.py: http://dpaste.com/80558
) I'd seriously suggest a low-end VPS.
> They make life even easier.
>
> On Fri, Aug 14, 2009 at 5:02 PM, Jonas Obrist <mailto:ojiido...@gmail.com>> wrote:
>
>
> I try to get django (1.0.2) to run on a shared hosting (with python
> 2.5.2) through fcgi (with
hi django-users
I try to improve the performance of my web app and one of the things I
want to do is render all occurrences of a certain tag at once instead of
each on its own. The reason is simple: Each template tag loops over a
series of regex pattern out of a database which it has to compil
Here's what I did:
I took the built in auth system and changed it a bit, or to be more
precise I changed all imports within auth (because I moved it within the
pythonpath) and edited models.py:
http://dpaste.com/81651/
Whole code:
http://www.ojii.ch/auth.tar.gz
If you wanna use it:
Add the
course = Course.objects.filter(group__user=request.user)
Chris McComas wrote:
> I have a model that has a FK to django.contrib.auth.models Group. I
> run a query that gets all the groups that a user is a member of:
>
> groups = Group.objects.filter(user=request.user)
>
> Then I want to run a que
I use eclipse with PyDev + Web Developement tools (and a bunch of other
addons :D) and I really like it. Only thing that bugs me is the lack of
a django syntax highlighter but that might be hard to find.
--~--~-~--~~~---~--~~
You received this message because you
dijxtra wrote:
> Is there a free robust django forum app? Or more precisely, a free and
> robust forum app which uses django.contrib.auth for authentication?
>
> Or should I just try out those several projects enabling django to
> access phpBB's user info and use phpBB3?
> >
>
There's django-fo
Hi django-users
I try to figure out how to upload files using django.
I have two models which are involved here:
Post, which has a user and content.
Attachment, which has a filefield (attachment), a user and a FK to Post.
This is how it should work:
Step 1:
The form is displayed with
Hi django-users
I wanna store files (attachments to forum posts) outside the MEDIA_ROOT
to restrict file downloads to registered users. So I'd have to server
them through django instead of apache. What would be the better way to
do this: Store them in a the database or store them in the filesy
Thanks to both Javiers!
--~--~-~--~~~---~--~~
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
django-u
Hi django-users
I have a question about the license Django is released under (BSD). Or
to be more precise about:
3. Neither the name of Django nor the names of its contributors may
be used
to endorse or promote products derived from this software without
specific prior writte
Russell Keith-Magee wrote:
>
> First off - IANAL, so the following lawyering is non-professional
> opinion, and doesn't constitute legal advice, etc etc.
>
> My reading of this is that yes, what you are proposing would be a
> violation of the license. You're forking Django to produce a new
> produ
Hi django-users
I wrote a django app called 'django-bbcode' which parses bbcode (or any
whatever you want it to) into html (or whatever you want it to). The
code is hosted on http://bitbucket.org/ojii/django-bbcode/wiki/Home for
all those who are interested.
I also wondered if there is any si
Hi fellow djangonauts
A while back I isolated the django ORM to run completely without all the
rest of django, to be able to use it in EventScripts (a plugin for the
source game server (counter strike and others) allowing to develop
plugins in python). It worked well for me and my tests were al
HB wrote:
> Hey,
> Grails framework offers a huge set of tools to facilitate testing
> (unit and integration)
> I heard the same thing is true for Rails
> Does Django offers the same thing?
> Thanks.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Django use
Hello django-users
I try to make a part of my website downloadable. Namely it's a wiki-like
app for documentation of an open source project, for which I would like
to offer downloadable copies. How would I pack a part of my app into a
zipfile/tarfile?
What I tried so far is just render the p
Have a look at django-cms [1], it should be able to do what you need.
And if there's some extra functionality you need it's very easy to
program it.
[1] http://www.django-cms.org
Rob B (uk) wrote:
The design agency I work for are looking into CMS options. Being a
Django man myself I'm hopin
On 06/30/2010 10:57 AM, bruno desthuilliers wrote:
On 29 juin, 12:29, samie wrote:
sir i am a beginner in python and django..
i want develop a content management system using django..
plz help me wht shld i do from where shld i start..
I think the very first thing to do would be to
send your application to either me
(jonas.obr...@divio.ch) or Simon Zmoos (simon.zm...@divio.ch). Make sure
you include your github or bitbucket profile if you have it, so we can
have a look at your code.
Jonas Obrist
[1] www.divio.ch
[2] www.django-cms.org
--
You received this message becau
Have you tried to just dump the object into the session?
On Aug 28, 2010 12:41 PM, "Andy" wrote:
> I know I can store simple key/value pairs to session. Is it possible
> to store entire objects to session?
>
> I want to enable un-logged-in users to submit form data. After the
> form is submitted,
orbital_fox wrote:
Is there a way and guides on how to install django without having root
access on a system? What are the requirements?
With regards,
Orbital Fox
This is possible but not very nice. I run some sites off a shared
hosting. You do need shell access though.
Jonas
--
You rece
If you're new to web apps I strongly suggest you'll have a go at
something easier than what you plan. Generally you could do what you
intend with django, since the crazy stuff is going to be in the frontend
(flash?).
--
You received this message because you are subscribed to the Google Groups
tation and more
testing. I've tested it in my project and I can't find any issues.
If you have a look at it and maybe even use it, please give me your feedback
and especially report any bugs you encounter.
Jonas Obrist
[1] http://code.google.com/p/django-multilingual/
[2] http://py
Not sure if this is what you're looking for but just searching for
django-crm on google got me http://code.google.com/p/django-crm/
Massimiliano della Rovere wrote:
At work we are planning move from Sugar CRM PRO to something else
free. I'd love moving to something python based, but it seems th
On 03/29/2010 10:28 AM, vamsy krishna wrote:
hi...am very new to django and am having some problem with my code...
say i've two modules...mod1 n mod2...n views in both modules have
certain generic functions which i need to import from each other...as
in
(in views.py of mod1)
from mod2.views im
Hi everyone
I know what I try to do sounds like something one shouldn't, but I
have my reason [1]...
I want to CREATE DATABASE from django (in a request/response cycle) on
postgres, so I do connections['default'].cursor().execute("CREATE
DATABASE somename"). That gives me a 'CREATE DATABASE canno
also improved the readability and maintainability of the Django-CMS
codebase
to make it easier for new developers to get around.
* And lots more!
Wishing you a merry Christmas in the name of the Django-CMS core
developers team,
Jonas Obrist
--
You received this message because you a
Hi fred
There's a lot of sites running it actually, for a list go to
http://www.django-cms.org/sites/, otherwise I can tell you that companies
such as PBS, National Geographic, Vodafone and a lot more use it.
If by example site you mean a site you can play around on, we plan to launch
a full
Have a look at haystack [1]. What engine you use pretty much depends on what
you can install, for your small site even whoosh should be enough.
Jonas
[1] http://haystacksearch.org/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
The second Release Candidate for the Django-CMS 2.1 was just released
and is
ready for testing. Please keep in mind that this is a release candidate,
and not
a final release yet!
Download: http://pypi.python.org/pypi/django-cms/2.1.0.rc2
Documentation: http://django-cms.rtfd.org
Source: https:/
Hi
As already mentioned, this belongs to
http://groups.google.com/group/django-cms?hl=en
But let me just quickly say that there's no sane way to get the CMS running
without admin. The whole point in having a CMS is to be able to edit content
easily, for which you need admin.
I have no idea wh
mprovements.
Please help testing this third release candidate and enjoy our django CMS.
In the name of the whole django CMS core developer team,
Jonas Obrist
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this gro
around on a fresh django
CMS instance. The demos are generously hosted by ep.io.
In the name of the django CMS developer team,
Jonas Obrist
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email t
We just released django CMS 2.1.1 to fix an issue brought to light by
Django 1.2.5.
After todays Django 1.2.5 security release [1], the django CMS AJAX
requests stopped working, due to lacking CSRF protection. This critical
issue has now been fixed in the 2.1.1 release.
Changes in this versi
We just released django CMS 2.1.2 to fix a CSRF issue occuring in some
browser with django CMS 2.1.1.
This release fixes the CSRF issues happening on Ajax requests in older
Internet Explorers (and according to some reports also other browsers)
as well as a CSRF issue when adding embbeded plugi
details please refer to the blog post here:
https://django-cms.org/en/blog/2011/02/22/security-releasse-issued/
Jonas Obrist
--
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@googlegrou
.djangocon.eu
If you have any questions or problems, don't hesitate to contact us.
Best regards,
Jonas Obrist, Co-Chair DjangoCon Europe 2012
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
ught that it is unnecessary, as
everything usually mentioned in a code of conduct is covered by Swiss law
anyway (especially discrimination).
Jonas Obrist
On Wednesday, April 25, 2012 8:28:07 PM UTC+2, Katie Cunningham wrote:
>
> If you want to get more women to a conference, a few things have
Today I am very excited that we just released Django CMS 2.3, with Django
1.4 support.
You can read the release notes at Django at http://bit.ly/django-cms-23.
Best regards,
Jonas 'ojii' Obrist
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
see you in Zürich in June!
Yours,
Jonas Obrist
[1] http://www.stadionletzigrund.ch/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/WfIR6rhGBlw
Hi there, if you're asking about django CMS (https://django-cms.org), you
should use the proper mailing list to ask
questions: https://groups.google.com/forum/#!forum/django-cms
Also, I do not fully understand your questions. Could you maybe try to
explain a bit better what you're trying to ach
"but I read that django-admin-tools is one of django-cms apps."
that is incorrect. The initial design and idea started on our blog [1] but
it was never implemented by us, so someone else did and thus
django-admin-tools was created.
[1] https://www.django-cms.org/en/blog/2009/10/29/dashboard-pro
We just issued a security release for the django CMS to fix a vulnerability
in the page_attribute template tag, which allowed admins with restricted
permissions to elevate their permissions through XSS.
All django CMS users are encouraged to update their django CMS
installations immediately.
Read
59 matches
Mail list logo