You can't see next variable after login because the view that process
"login form" don't return the variable in any form. You can modify this
view.
Regards,
Ariel Calzada
Homepage: http://www.000paradox000.com
Blog: http://blog.000paradox000.com
"If I had asked people what they wanted, they woul
2013/5/25 Amber Jain
> Hello,
>
> I can't seem to access request.GET['next'] (from a URL with a query
> string). Here's what I'm doing:
> localhost:8000/dashboard/ points to dashboard() view but the dashboard()
> view uses @login_required decorator. And so, if the user isn't logged in,
> localhos
Hello,
I can't seem to access request.GET['next'] (from a URL with a query
string). Here's what I'm doing:
localhost:8000/dashboard/ points to dashboard() view but the dashboard()
view uses @login_required decorator. And so, if the user isn't logged in,
localhost:8000/dashboard/ redirects to local
thanks
Am Sonntag, 28. September 2008 14:44:22 UTC-7 schrieb Hingarajiya,Ravi:
>
> Jeff :
>
> Thanks for reply.
>
> Ravi Hingarajiya
>
> On Sun, Sep 28, 2008 at 2:41 PM, Jeff Anderson
>
> > wrote:
>
>> Hingarajiya,Ravi wrote:
>> > Hi Alessandro,
>> >
>> >Thanks for your reply.I know kill c
With this simple database table:
class Artist(models.Model):
id = models.IntegerField(primary_key=True)
name = models.CharField(max_length=255L, blank=True)
prefix = models.CharField(max_length=32L, blank=True)
class Meta:
db_table = 'artist'
I want to be able to get a lis
With this simple database table:
class Artist(models.Model):
id = models.IntegerField(primary_key=True)
name = models.CharField(max_length=255L, blank=True)
prefix = models.CharField(max_length=32L, blank=True)
class Meta:
db_table = 'artist'
I want to be able to get a lis
Hi Hordur,
it really *does* look like a bug, could you please open a ticket for
this behaviour? Nice would be a minimal test case, like just reversing a
url in this way when a ~ is in the path.
Kind regards
Michael
--
You received this message because you are subscribed to the Google Groups
Hi Andreas,
> The error is : "current transaction is aborted, commands ignored until end
> of transaction block",
I guess you use postgres. This is a standard error that postgres thows
if you do any database action in a transaction after any other
error. You need to find the previous error that
Gianluca Dileo writes:
> Hi guy,
> I've created a form in a page html that upload a image.
> After capturing the image and edit it, I need to have it appear in a window
> j
> How can i do?
Does HttpResponseRedirect do what you want to achieve?
Kind regards
Michael
--
You received this mess
Hi Olivier,
> The error is:
> Exception Type:TypeErrorException Value:
>
> 'Relais' object is not iterable
>
>
>
>
> Have you got an idea on what cause this problem ?
It would really help to see a full traceback, could you provide one?
Kind regards
Michael
--
You received this message becaus
Hello all,
I have an insoluble problem when I try to use the formsets...
*This is my models:*
class Relais(models.Model):
nom = models.CharField(max_length=100,blank=True)
competition = models.ForeignKey(Competition)
sport = models.ForeignKey(Sport)
ordre = models.IntegerField()
def __unicode__
Sure okay, I'll whittle my project down to the bare bones, investigate it
further, and if I manage to get a simple project that reproduces it I'll
let you know. Cheers!
Oh, and it's Django 1.5.1 I'm running.
On Friday, 24 May 2013 11:14:03 UTC+1, akaariai wrote:
>
> On 22 touko, 18:57, Michael
ok I also had to add
# -*- coding: utf-8 -*-
to the top of the file
On Fri, May 24, 2013 at 10:03 AM, Tom Evans wrote:
> On Fri, May 24, 2013 at 2:54 PM, Cody Scott
> wrote:
> > In my settings.py I have
> >
> > #Used for translations
> >
> > gettext = lambda s: s
> >
> > #languages written as
On Fri, May 24, 2013 at 2:54 PM, Cody Scott wrote:
> In my settings.py I have
>
> #Used for translations
>
> gettext = lambda s: s
>
> #languages written as they would be displayed in the language selector form
>
> LANGUAGES = (
>
> ('en', gettext('English')),
>
> ('fr', gettext('French')),
>
In my settings.py I have
#Used for translations
gettext = lambda s: s
#languages written as they would be displayed in the language selector form
LANGUAGES = (
('en', gettext('English')),
('fr', gettext('French')),
('ja', gettext('Japanese')),
)
and I was thinking of writing each lan
Thank you
On Friday, May 24, 2013 9:16:35 AM UTC-4, Mike Dewhirst wrote:
>
> On 24/05/2013 10:04pm, frocco wrote:
> > Hello,
> >
> > Can someone give me an example of configuring robots.txt?
> >
> > I want to block the admin site.
> >
> > and anything else?
>
> I needed this info recently
On 24/05/2013 10:04pm, frocco wrote:
Hello,
Can someone give me an example of configuring robots.txt?
I want to block the admin site.
and anything else?
I needed this info recently and googled robots.txt. This was the second
item ... http://www.robotstxt.org/robotstxt.html
--
You rece
Hi Federico,
Maby is better idea you use the models.ImageField(upload_to= path)
ie:
locandina = models.ImageField(upload_to= path)
then in the template you can get the path:
{{ object.locandina.url }}
Also, you need to read some about configuration on settings.MEDIA_ROOT and
settings.MEDIA_U
On Friday, May 24, 2013 10:22:45 AM UTC+4, Russell Keith-Magee wrote:
> You might get some traction using django-nonrel, but I can't comment on
how well it works. It's a fork of Django 1.3 ...,
I have an app up & running with django-nonrel 1.5, it's in beta but works
perfectly with no problem, a
Hi,
I changed my settings.py file like so but nothing happened after I
restarted the server "$ python manage.py runserver".
USE_L10N = False
FORMAT_MODULE_PATH = 'config.locale'
So I then followed this tutorial by creating some extra folders and files.
http://www.epicserve.com/blog/2011/jul/15/
Use the 'with' template tag. That's what it is for.
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#with
Also you should probably use |pluralize filter to add pluralization.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
Hello,
Can someone give me an example of configuring robots.txt?
I want to block the admin site.
and anything else?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an emai
Hi guy,
I've created a form in a page html that upload a image.
After capturing the image and edit it, I need to have it appear in a window
j
How can i do?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
Hi all,
I am working on upgrading our system from django 1.3.1 to django 1.5.1, and
have run into a huge problem. The site we are running has multilingual
support and the platform has multiple top level domain sites connected to
it. Running locally on my machine I get an error when I try to switch
Hi!
Has anyone used Tastypie and mongoengine for an application in django and
mongodb?
It's just that I have a problem and needed help.
I'm having trouble doing the many to many relationships.
If someone has already done something with tastypie mongoengine and tell me
to put my doubts.
thank y
On 23 touko, 15:09, Jani Tiainen wrote:
> Hi,
>
> I've product that uses complex setup scripts - tens of SQL scripts that
> creates tables, views, complex triggers, grants permissions and such and
> finally populates database with some pre-data.
>
> So how I should proceed with unit testing with
On 22 touko, 18:57, Michael wrote:
> I've got an odd situation here, any idea why the delete SQL for the
> `myapp_entry_tag` table is being performed twice?
>
> >>> from myapp.models import Tag
> >>> from django.db import connection
> >>> from pprint import pprint
> >>> Tag.objects.only('pk').get(
Hi
try johnny-cache
http://pythonhosted.org/johnny-cache/
Thx
Frank
Am 24.05.2013 08:50, schrieb brycenesbitt:
|Does there exist a lightweight cache option for django which persists
data
in a single session. For example:
{{gallery.tiles.count}} item{% if gallery.tiles.count != 1 %}s{% endif
28 matches
Mail list logo