Hi,
I have the following urlConf for password change:
url(r'^users/(?P\d+)/$', UserProfile.as_view(), name='user_profile'),
url(r'^password_change/$', auth_views.password_change,
name='password_change'),
I can't figure out to redirect to the user profile page by using
post_change_redirect?
Check PIL out:
http://stackoverflow.com/questions/273946/how-do-i-resize-an-image-using-pil-and-maintain-its-aspect-ratio
On Mon, Apr 22, 2013 at 6:05 AM, frocco wrote:
> Can someone point me to a good package?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Goog
I can't get PyCharm to break at breakpoints when debugging a django app.
what is the magic incantation i neec to invoke to make this happen
regardless of where i am in code (views, urls, models, templates, etc)
--
Mark :)
--
You received this message because you are subscribed to the Google Gro
Hi
When Debug = False, all of things are working fine,
when Debug = True, browser got an error with 500
so do you know why?
I am using nginx to handle all of static files like css,img
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
ok I understand that, but I am using the development server.
any other clues?
thanks
Domingo, 21 de Abril de 2013 17:44:46 UTC+1, Rainy escreveu:
>
>
>
> On Sunday, April 21, 2013 11:18:22 AM UTC-4, Carlos Aboim wrote:
>>
>> Hi everyone.
>>
>> Anybody can tell me why I can get css on my flatpage
PyCharm is what I use and recommend.
--
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 email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email
Can someone point me to a good package?
Thanks
--
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 email
to django-users+unsubscr...@googlegroups.com.
To post to this group,
Sorry what do you mean by flat. Do you mean that they dont import css files
into them. As in mobile optimized? You would just create file in a
templates directory and include it in any flat pages. It would be fully
rendered on the server side, and no extra browser calls to grab the files.
On Su
If I could understand you right, a m2m field is exactly what you are
describing. an object may belong to one or more feeds.
Feed an object have an relation, The question if an object have to belong
to a feed or not necessarily? does an object always have a related feed?
does a feed always have a re
Hi
tell me, where should live css files for flatpages,
these need a special folder for server to find them as for apps for example?
thank you!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving em
In the mean time I will try with a many to many field. That's probably more
than enough.
--
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 email
to django-users+unsubscr.
On Sunday, April 21, 2013 5:51:06 AM UTC+1, Mike wrote:
>
> I'm trying to get logging to work from within my celery process. I have
> set:
> CELERY_SEND_TASK_ERROR_EMAILS = True
> in settings.py
>
> within the process I am logging to level INFO:
>
> logger.info('some info')
>
> I launch the pro
Hi group,
In a Django project I would like to create feeds of objects (could be text like
in twitter or other kind of content, don't know yet, not relevant anyway). Each
user could create new feeds and each user could also create new objects to put
in those feeds. I am thinking about creating 2
yess that does it.
thanks
On Sun, Apr 21, 2013 at 11:57 PM, vijay shanker wrote:
>
>
> On Sunday, April 21, 2013 10:58:47 PM UTC+5:30, vijay shanker wrote:
>>
>> hi
>>
>> i have a django form like this:
>>
>> class AddArtistForm(forms.Form):
>> fname = forms.CharField()
>> lname = forms
On Sunday, April 21, 2013 10:58:47 PM UTC+5:30, vijay shanker wrote:
>
> hi
>
> i have a django form like this:
>
> class AddArtistForm(forms.Form):
> fname = forms.CharField()
> lname = forms.CharField()
> profession = forms.CharField()
> dob = forms.DateField()
>
> i want to di
Please do not license your code with GPL.
On Thursday, September 9, 2010 12:38:19 AM UTC+2, sebastien piquemal wrote:
>
> I created a library to address this kind of problems :
> http://code.google.com/p/django-cube/
>
> It bases the aggregation on a multidimensional view of your data (a
> cube
You can get the errors of a field:
{% for field in form %}
{{field}}
{% for error in field.errors %}
{{ error }}
{% endfor %}
{% endfor %}
2013/4/21 vijay shanker
> hi
>
> i have a django form like this:
>
> class AddArtistForm(forms.Form):
> fname = forms.CharField()
hi
i have a django form like this:
class AddArtistForm(forms.Form):
fname = forms.CharField()
lname = forms.CharField()
profession = forms.CharField()
dob = forms.DateField()
i want to display errors as this
{% for field in form %}
{{field}}
# error associated with ab
On Sunday, April 21, 2013 11:18:22 AM UTC-4, Carlos Aboim wrote:
>
> Hi everyone.
>
> Anybody can tell me why I can get css on my flatpage /home/ ?
>
> http://dpaste.com/hold/1066757/ -> this is the html of the page
>
> http://dpaste.com/hold/1067747/ ---> this is the css styles
>
>
Hi everyone.
Anybody can tell me why I can get css on my flatpage /home/ ?
http://dpaste.com/hold/1066757/ -> this is the html of the page
http://dpaste.com/hold/1067747/ ---> this is the css styles
http://dpaste.com/hold/1066760/ -->settings.py
http://s22.postimg.org/
wow, some good advice here thanks. I tested with RabbitMQ and its fast, all
I can say is it seems to be SQS. My advice don't use it!
--
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 i
You can't test a system like this by sending one message: you're just
testing the latency, not throughput. Latency is the end-to-end time it
takes for a single message to make its way through the system. Throughput
is the number of total messages per second that can make their way through.
As l
Can you post the rest of the traceback?
On Apr 21, 2013 7:06 AM, "Kakar" wrote:
> I am in settings.py and using SQLite3. But when i execute manage.py
> syncdb, it gives me error: "Value error: Empty module name" I didn't
> understood this part. Plz help me guyz.
>
> --
> You received this message
Hi Kakar, I can't say what is the problem with your environment with the
little info you have provided, but I feel this question can help you:
http://stackoverflow.com/questions/3384576/problems-setting-up-django-valueerror-empty-module-name
If that does not solve your problem, post the detailed st
you should try to not use Task Dispatching. Rather if you are doing this
once a day, have a periodic task run every 24 hours. In the same module as
the thread try doing something like what is at the bottom of this page
http://docs.python.org/2/library/queue.html . It is a queue thread daemon
ar
I am in settings.py and using SQLite3. But when i execute manage.py syncdb,
it gives me error: "Value error: Empty module name" I didn't understood
this part. Plz help me guyz.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fro
I am in settings.py and using SQLite3, but when i run manage.py syncdb it
tells me: " Value Error: Empty module name." Please help me with this, i
didn't undesrtood this part.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fro
Sorry darn phone changed daemon to farming
On Apr 21, 2013 9:39 AM, "Michael Hernandez" <
michael.hernandez1...@gmail.com> wrote:
> I have been working with heavy reporting and analytics lately. I would
> suggest use thread queuing with many farming threads. I use python thread
> but Greenlets it
I have been working with heavy reporting and analytics lately. I would
suggest use thread queuing with many farming threads. I use python thread
but Greenlets it some else should be better
On Apr 21, 2013 5:48 AM, "sparky" wrote:
> One last thing to add, the task it's self does not seems to be th
Maybe SQS is the issue here have a read:
http://dataexcursions.wordpress.com/2011/12/15/amazon-sqs-vs-rabbitmq/
--
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 email
to
One last thing to add, the task it's self does not seems to be the issue,
'got message from broker' is the 3-4 second wait I can see.
--
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
Thanks for the responses it's very helpful.
You are right, I won't have 100,000 tasks every seconds it's just a huge
batch I have to send which at the moment would be 100,000 tasks.
But just to be clear:
Loop each contact in my DB:
TASK: SEND 1 SMS FOR CONTACT
I'm use Amazon SQS for the bro
My (newbye) problem is as follows:
Suppose
class Person(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
address = models.CharField(max_length=100)
class Lent_Book(models.Model):
title = m
33 matches
Mail list logo