The problem has resolved without my intervention :).
Regards,
Marcin
On 22:29 Mon 03 Jun , Marcin Szamotulski wrote:
> Hello,
>
> I need to add a m2m field to a model. So I did added it and then
> I wanted to use south to migrate the app. Since this app was already
> using south I run
> ./
I have my application to work correctly with version 0.9.11, but now when I
try to get the version 0.9.15 I get the following error in my api:
*"error_message": "full_dehydrate() got an unexpected keyword argument
'for_list'"*
Someone can help me? The why of this error?
--
You received this
Hi all,
I have had no success so far with daemonizing celery on my server. I raised
two stack overflow questions and have received only a few answers. Could
someone please point me to a solid tutorial or blog post on how to make it
work. I'm using celery with django in a virtual environment.
B
Hi Manu,
Have you seen the "Running the worker as a daemon" section of celery docs -
http://docs.celeryproject.org/en/latest/tutorials/daemonizing.html
It also includes an example with Django and virtualenv.
Regards,
Vineet
On Tue, Jun 4, 2013 at 3:47 PM, Manu wrote:
> Hi all,
>
> I have had
Yeah Vineet,
I've gone through that. I mentioned it in the first question on SO. You
will even see my settings there.
Regards,
On 4 June 2013 15:55, Vineet Naik wrote:
> Hi Manu,
>
> Have you seen the "Running the worker as a daemon" section of celery docs
> - http://docs.celeryproject.org/en
Hi,
the user stays the same, but he becomes member of the PaidMember Group,
(Access handling)
and he gets a monthly payment record history entry.
Think about role changes, becomes PaidMember, leaves PaidMember, becomes
FreeUser, leaves FreeUser.
So you have to think about the role change tra
A few months back, as far as I remember, I had used the same examples and
got it working without much trouble.
I am only guessing here but are you sure that celery and django-celery both
are installed in the same virtualenv and not globally?
On Tue, Jun 4, 2013 at 4:36 PM, manuga...@gmail.com wr
Yeah Vineet, both of them are installed in the same virtualenv.
On 4 June 2013 17:00, Vineet Naik wrote:
> A few months back, as far as I remember, I had used the same examples and
> got it working without much trouble.
>
> I am only guessing here but are you sure that celery and django-celery
When I using i18n_patterns in my project urls.py I have strange behaviour
of url resolver:
expected behaviour:
- if pattern defined in django.conf.urls.patterns, url resolver
doesn't add language prefix
- ip pattern defined in django.conf.urls.i18n.i18n_patterns, url
resolver adds la
Thanks, I'm aware of that option (I rent a Linode box myself), but
according to my boss there's absolutely no way to pay for external web
services. (i.e Heroku, Amazon S3)
On Monday, June 3, 2013 1:56:06 PM UTC+3, Wim Feijen wrote:
>
> Hi Daniel,
>
> I would definitely recommend ordering a small
Thanks for your answer, I actually follow you on twitter so it's funny to
get some "face time".
Anyway, what I mean by replicating Heroku is specifically the deployment
workflow - not the scaling side of things.
I have personally already set up deployment on a physical linux box we have
here in
models.py
class Geolocation(models.Model):
user = models.ForeignKey(User, null=False)
location_latitude = models.CharField('Latitude', max_length=20, null=True,
blank=True)
location_longitude = models.CharField('Longitude', max_length=20,
null=True, blank=True)
In my application,i a
I think you'd at least want to use either a DecimalField or FloatField for
the lat & long numbers.
There's a nice GIS package in django called GeoDjango, it has lots of built
in functionality for all kinds of geographical things.
This may be over kill for your application but I thought I'd let you
Can i get any post or example related to this.
Thanks
On Tuesday, June 4, 2013 6:38:05 PM UTC+5:30, Doug S wrote:
>
> I think you'd at least want to use either a DecimalField or FloatField for
> the lat & long numbers.
> There's a nice GIS package in django called GeoDjango, it has lots of
> b
On Monday, 3 June 2013 15:50:21 UTC+1, huw_at1 wrote:
> Hi there, I've run into an issue whereby on production my Django project
> is accessed from a URL such as http://example.com/django_project/. Apache
> is configured to host the code under this URL since I do not want the
> entire site mana
On Tue, Jun 4, 2013 at 6:23 AM, Ivan Tatarchuk
wrote:
> from django.conf.urls import patterns, include, url
> from django.conf.urls.i18n import i18n_patterns
>
> urlpatterns = patterns('',
> url(r'^admin/', include(admin.site.urls)),
> )
>
> urlpatterns += i18n_patterns('',
> # url(r'^other
Saving the values is the easy part. The format you use depends on what you
want to do with them. If you are only displaying them to users, CharField
might be okay. If you are going to do any processing, you should probably
convert them. My storage is done like this:
gpsLatitude = model
Vermon D. Cole,How to get the latitude and longitude from javascript(using
javascript map) and save it to database in Django.If marker is placed in
any place,it will show/display the longitude and latitude value,need to get
that and save in in db.Hope this clear.
Thanks
On Tuesday, June 4, 2
I just inherited code I need to modernize. A model had been created with
inspectdb but was never updated. I'm setting this up with Python 2.6 and
Django 1.5.1 and the database is on MySQL 5.0. I've updated the settings
but now I can't run "inspectdb" on the database. I get
DatabaseError: (114
Hi, all,
Just a gentle reminder that the DjangoCon US Call for Submissions ends June
18th. Thanks!
http://www.djangocon.us/cfp/
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscr
Hi Group,
I am interested in replicating the notification as in facebook if something
happens, or as happens in stackoverflow, when you see the red colored
bubble.
I understand that the redis pub-sub can be used. I do not want to use the
Server Side Events.
Could someone please guide me how
Daniel is correct. One more point though, there are cases where you may
want to use the full url instead of just "/django_project/", in which case,
you should use settings.BASE_URL or {{ request.get_host }}.
To use either of those in the template, the template would need to be
rendered with a R
The nginx-push-stream-module is very easy to use:
https://github.com/wandenberg/nginx-push-stream-module
Just build nginx with the module, do a bit of configuration, then you're
ready to push messages from your server, and subscribe to them via
WebSockets or Long Polling from your client.
_Nik
O
Hello,
I am using the django-datetime-widget from
https://pypi.python.org/pypi/django-datetime-widget.
I did everything in the example given but cannot get it to actually work.
For the field I have it on in my template the button to select the calendar
is there, however it does not show up when p
Looking closer, do you have an app named 'main'? If so does it have a
urls.py in it? Can you import that without error (say in the manage.py
shell)? If so, try:
repr(main.urlpatterns)
(Since the error message complains that main.urls has no url patterns in
it.)
If you don't expect to use
excellent thanks Bill!
On Tue, Jun 4, 2013 at 9:35 PM, Bill Freeman wrote:
> Looking closer, do you have an app named 'main'? If so does it have a
> urls.py in it? Can you import that without error (say in the manage.py
> shell)? If so, try:
>
> repr(main.urlpatterns)
>
> (Since the err
Hi,
I'm trying to process a form through a detailview that adds a comment to a
blog post. Here's my view code:
class PostDetailView(DetailView):
model = Post
template_name = 'blog_detail.html'
queryset = Post.objects.filter(published=True)
form_class = CommentForm
def
In the https://docs.djangoproject.com/en/1.5/intro/tutorial01/ tutorial
under the,
Playing with the API
section, I'm trying to go through the example in my python shell as
described.
p = Poll(question="What's new?", pub_date=timezone.now())
But I'm unable to get to next command "p.save()" b
Seems it should be '^\d+$'.
Nobody likes this idea? Should I submit a ticket and pull request?
On Saturday, June 1, 2013 9:48:17 PM UTC+10, CHI Cheng wrote:
>
> In url.py, we could use regex to limit string patterns.
>
> Is there anything similar for QueryDict.get()?
>
> e.g. given
>
> q = reques
On 5/06/2013 9:10am, Tony Guilin wrote:
In the https://docs.djangoproject.com/en/1.5/intro/tutorial01/ tutorial
under the,
Playing with the API
section, I'm trying to go through the example in my python shell as
described.
p = Poll(question="What's new?", pub_date=timezone.now())
But
30 matches
Mail list logo