HI,
This is semi-off topic, but it is a python question.
I'm trying to use some of the generic django applications, like django-
tagging. Taking django-tagging, for example, it requires me to symlink
the source folder to "site-packages/tagging". However, I want to keep
site-packages structured a
Hmm, I tried django_tagging, but it still gives me ImportErrors. I
think it's because, for django-tagging project, they internally look
for tagging as the package name.
On Nov 2, 11:44 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Nov 3, 4:58 am, stryderjzw <[EMAIL
Ah, I've been busy past couple of days.. but there's some interesting
ideas here.
Thanks!
Justin
On Nov 3, 6:35 am, "Valts Mazurs" <[EMAIL PROTECTED]> wrote:
> Sure, I also keep django apps outside site-packages directory but it is not
> really the same level of convenience :)
>
> Valts.
>
> On
Hi,
Here's part of my code:
class NewAssignmentFormPreview(FormPreview):
def done(self, request, form):
assignment = form.save(commit=False)
assignment.save()
...
return HttpResponseRedirect(assignment.get_absolute_url())
I do an HttpResponseRedirect to go to the ass
Strange, I'm getting the message "You don't have permission to edit
anything." on the admin homepage. I've done admin.autodiscover() on
the project urls page, I've created admin.py files for my models and
registered the classes with admin.site.register().
Any clues?
Cheers!
Justin
On Jul 19, 1
Hi!
I did some searching, but I felt it's going nowhere, so here's the
question.
I'm using Django 1.1 r9756, the one where tests are using
transactions.
I have a user profile automatically created with signals, as below:
def create_player(sender, instance=None, **kwargs):
if instance i
ve to alter dumpdata manually everytime.
On Feb 1, 12:22 am, stryderjzw wrote:
> Hi!
>
> I did some searching, but I felt it's going nowhere, so here's the
> question.
>
> I'm using Django 1.1 r9756, the one where tests are using
> transactions.
>
> I have a
This doesn't seem to be working for me.
I created my own test_settings.py in the project root directory.
I ran
python manage.py test --settings=test_settings
It runs as usual and CSRF still fails when I run tests.
Anyone know what I might be doing wrong here? How can I tell that
python manage.
d one existing.
>
> I thought it was something to do with self.client.login failing (because I
> would get 403)
>
> I couldn't figure this out: is there a way to tell that we are running as a
> test ?
>
> felix : crucial-systems.com
>
> On Mon, Feb 1
have to dig in
deeper into the Django code.
On Feb 16, 6:42 pm, Malcolm Tredinnick
wrote:
> On Mon, 2009-02-16 at 18:36 -0800, stryderjzw wrote:
>
> [...]
>
> > However, I'm running into the problem that I have no clue if manage.py
> > ever read my settings file correctl
http://www.djangoproject.com/documentation/authentication/
This should be a good start! Also check out chapter 12 of django book
at www.djangobook.com.
Justin
On Jul 26, 12:08 am, "Marco A." <[EMAIL PROTECTED]> wrote:
> I am a newbie !
>
> I doesnt have esperience whit django and web developin
Hi,
I'm having a similar problem to this thread below:
http://groups.google.com/group/django-users/browse_thread/thread/608554256525c37e/6c944a02a622ba53?lnk=gst&q=edit_inline+does+not+save&rnum=1#6c944a02a622ba53
For my problem, I'm creating a GroupProfile, similar to the well known
UserProfile
Thanks, everyone.
I like this idea. That really helped. I hope this gets considered.
Cheers,
Justin
On Jan 3, 1:16 pm, AmanKow <[EMAIL PROTECTED]> wrote:
> I posted a diff on dpaste: http://dpaste.com/hold/29777/
>
> This is for a change to django/template/loader_tags.py
>
> This change would
Hi,
I have the same situation as a thread (http://groups.google.com/group/
django-users/browse_thread/thread/2dbb2b7f01951a2/efbeb1f74be6e454?
lnk=gst&q=multiple+template+block) started in 2005. The idea is that
in my template, I want to use the same template block for both the
and tags.
I did
14 matches
Mail list logo