Re: Using django 4.1 code in django 3.2

2022-11-03 Thread subin
I will look forward to meeting you on July 11 On Thu, Nov 3, 2022 at 10:18 AM Lakshyaraj Dash < dashlakshyaraj2...@gmail.com> wrote: > Is there any problem if I deploy my django app written with django 4.1 in > django 3.2 on render ? > Please help > > -- > You received this message because you ar

Re: Using django 4.1 code in django 3.2

2022-11-03 Thread subin
Please let me know if that sounds okay. On Thu, Nov 3, 2022 at 2:56 PM 'Steven Mapes' via Django users < django-users@googlegroups.com> wrote: > It'll depend on whether your code is 3.2 compatible or not so you'd need > to test it and check dependencies first > > On Thursday, 3 November 2022 at 0

Re: Using django 4.1 code in django 3.2

2022-11-03 Thread 'Steven Mapes' via Django users
It'll depend on whether your code is 3.2 compatible or not so you'd need to test it and check dependencies first On Thursday, 3 November 2022 at 09:28:40 UTC Kasper Laudrup wrote: > On 03/11/2022 10.18, Lakshyaraj Dash wrote: > > Is there any problem if I deploy my django app written with django

Re: Using django cms in a model instance scenario rather than the whole site

2021-01-15 Thread Andréas Kühne
Hi Joel, I don't think you need to incorporate django cms for that use case. You would be better just to add a HTML editor of some sort and then saving the HTML in the database. That way you don't need to open up django admin for the cms handling either? At least that's the way I would do it? Reg

Re: using Django to create/build enterprise e-commerce system

2020-02-19 Thread Mbu Charles
Hello, saw your reply and i was wishing to a favour, i am a young django programer and i need some help, working on some projects and with guide from people like you will be of great help, so i wantedt could mentor me please On Saturday, February 1, 2020 at 6:13:29 PM UTC+1, Henry Udoye wrote:

Re: using Django to create/build enterprise e-commerce system

2020-02-03 Thread Manas Paul
Contact at cont...@manacode.com On Saturday, 1 February 2020 22:43:29 UTC+5:30, Henry Udoye wrote: > > I need the following: > > *ENTERPRISE E-COMMERCE APPLICATIONS COMPONENTS OUTLINED OR MENTIONED OR > LISTED BELOW AND THE ENTERPRISE E-COMMERCE APPLICATIONS COMPONENTS > INTEGRATOR(S) TO PUT OR

Re: using Django to create/build enterprise e-commerce system

2020-02-02 Thread Thierno lamine Balde
Dear Sir/Madam: We are actually doing django development and we have already worked in e-commerce projects We work mainly in python and javascritp on all our projects. So we have enough experience in the field. If you ask us, we will spare no effort to carry out your project. Cordially. BALDE

Re: Using Django Admin as definitive admin interface

2019-09-26 Thread Deep Sukhwani
I have read about places where Django Admin interface is used as primary admin interface by tech and non-tech departments to manage a project. On the other hand, I have also seen workplaces where admin is as much hidden from non-tech / routine project management as much possible and instead externa

Re: Using Django to generate static websites

2019-08-14 Thread Mike Dewhirst
On 14/08/2019 11:15 pm, mor...@nidelven-it.no wrote: Hi. I'm looking into static site generators written in Python, and django was suggested. Is there a way to generate a website with 5 pages, which has a good base design, is accessible, responsive and doesn't bog down the browser on a low-en

Re: Using Django Window Functions on a Filtered QuerySet

2019-02-26 Thread Bernd Wechner
Stunning silence on this all round ... Hmmm On Tuesday, 29 January 2019 11:01:56 UTC+11, Bernd Wechner wrote: > > I have a filtered queryset, and annotated it with a few window functions. > I got a most surprising result when the filter is on fields in a related > model and it turns out this lie

Re: Using Django

2019-01-13 Thread Kasper Laudrup
On 13/01/2019 05.36, George Githaiga wrote: I have Django-apps on my root directory.I need to proceed to the environment.Kindly guide. https://stackoverflow.com/help/how-to-ask Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django

Re: Using Django Channels to subscribe to a Redis channel

2018-11-22 Thread Yavin Aalto Arba
You need to set up the consumer to perform this task. cf. https://github.com/justdjango/justchat/blob/master/src/chat/consumers.py this corresponds to the following video tutorial which might be useful to you: https://www.youtube.com/watch?v=Wv5jlmJs2sU On Thu, 22 Nov 2018 at 15:34, Nasir Sh wr

Re: Using Django Channels to subscribe to a Redis channel

2018-11-22 Thread Nasir Sh
Thanks Yyavin, the problem is that in my management command I don't have access to `self` to send it. Is it possible to get access to a consumer from outside or how should my data producer relay the messages to channel in an async way? On Wednesday, November 21, 2018 at 8:47:07 PM UTC+1, Yavin

Re: Using Django Channels to subscribe to a Redis channel

2018-11-22 Thread Nasir Shadravan
Thanks Yyavin, the problem is that in my management command I don't have access to `self` to send it. Is it possible to get access to a consumer from outside or how should my data producer relay the messages to channel in an async way? On Wed, Nov 21, 2018 at 8:46 PM Yavin Aalto Arba wrote: > tr

Re: Using Django Channels to subscribe to a Redis channel

2018-11-21 Thread Yavin Aalto Arba
try with self.channel_layer.group_send ? On Wed, 21 Nov 2018 at 19:44, Nasir Sh wrote: > Thanks Andrew this helps me as well. There is a missing piece I don't > understand yet. In my management command, then I probably will have to use > `async_to_sync(channel_layer.group_send)` > to send the

Re: Using Django Channels to subscribe to a Redis channel

2018-11-21 Thread Nasir Sh
Thanks Andrew this helps me as well. There is a missing piece I don't understand yet. In my management command, then I probably will have to use `async_to_sync(channel_layer.group_send)` to send the message to consumers (right?). The only problem is that whenever I use async_to_sync it creates

Re: Using django on kubernetes

2018-11-02 Thread PASCUAL Eric
018 9:14:36 PM To: Django users Subject: Re: Using django on kubernetes Thanks, would you say that running Minikube is the best way to learn Kubernetes at a significant level, or would you recommend a small Virtualbox/vagrant setup that really is a multi-node Kubernetes? I don't really hav

Re: Using django on kubernetes

2018-11-01 Thread Dan Davis
if your configuration involves multi-nodes load balancing. > > > Eric > -- > *From:* django...@googlegroups.com < > django...@googlegroups.com > on behalf of Dan Davis < > dans...@gmail.com > > *Sent:* Tuesday, October 30, 2018 6:56:32 PM > *To:* D

Re: Using django on kubernetes

2018-10-30 Thread PASCUAL Eric
an be spread over different nodes if your configuration involves multi-nodes load balancing. Eric From: django-users@googlegroups.com on behalf of Dan Davis Sent: Tuesday, October 30, 2018 6:56:32 PM To: Django users Subject: Re: Using django on kubernetes An

Re: Using django on kubernetes

2018-10-30 Thread Dan Davis
Andreas, I don't know terribly much about Kubernetes, only Docker, however it seems that Kubernetes must natively provide some metrics collection, i.e https://kubernetes.io/docs/tasks/debug-application-cluster/resource-usage-monitoring/. It would be nice to correlate particular views and the

Re: Using django on kubernetes

2018-10-30 Thread PASCUAL Eric
018 1:25:11 PM To: django-users@googlegroups.com Subject: Re: Using django on kubernetes Thanks for the replys, I am of course monitoring the resources - but I am a bit afraid that the memory usage for example might change over time? Ah well - I will have to monitor this for an extended period of

Re: Using django on kubernetes

2018-10-30 Thread Andréas Kühne
Thanks for the replys, I am of course monitoring the resources - but I am a bit afraid that the memory usage for example might change over time? Ah well - I will have to monitor this for an extended period of time and see what happens then :-) Regards, Andréas Den tis 30 okt. 2018 kl 12:17 skr

Re: Using django on kubernetes

2018-10-30 Thread Jason
using infrastructure monitoring such as new relic can lend valuable insight into what resources pods are using vs their default allocation -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Using django on kubernetes

2018-10-30 Thread PASCUAL Eric
Hi, Django is not really the key factor here, and the amount of consumed resources depends mainly on what your business logic does on top of Django. IMHO the only way to properly estimate the limits is observing the metrics and trends of the related pods for a significant period and with an a

Re: Using Django Channels to subscribe to a Redis channel

2018-07-11 Thread morlandi
I posted a working snippet here https://gist.github.com/morlandi/bb915db7acef0ee0e4cb070921208610 It's a Django management command which subscribes a Redis channel, and upon receiving a new message sends it to django-channel. You can skip the logging and redis connection boilerplate, and take a

Re: Using Django Channels to subscribe to a Redis channel

2018-04-30 Thread Michael
Did you have luck with this. I've tried the same thing, but it seems like if no one is consuming on the other side I get a "channels.exceptions.ChannelFull" exception. I'm trying to provide a real-time feed for an exchange. There might be zero people listing or 1 million listening. The high le

Re: Using Django create() on a time.field

2018-01-07 Thread Daniel Roseman
On Sunday, 7 January 2018 21:03:05 UTC, Malik Rumi wrote: > > -- > > As a string that evaluates to the past *** > > (lifeandtimes) malikarumi@Tetuoan2:~/Projects/lifeandtimes/chronicle$ > python django_textract_9.py > > Traceback (most recent call last): > > File "django_textract_9.py", line 17,

Re: Using Django with Ingres DB

2017-08-24 Thread James Schneider
On Aug 15, 2017 8:34 AM, wrote: Hi Does anyone know if it's possible to easily use an Ingres database with Django? Many thanks Jim I don't know/doubt if the Postgres bindings in Python will handle Ingres, nor am I aware of any 3rd party app that provides support. It isn't specifically suppor

Re: Using Django with groupby

2017-04-21 Thread Will Holmes
Fixed this by just not using groupby. So far I just have a slightly long-winded work around that formats the data in the same way as groupby but includes all days in in between, and including, the start date and end date. def group_by_day(self, events, month): return_dict = {} f

Re: Using Django Channels to subscribe to a Redis channel

2017-02-23 Thread Jochen Breuer
Hi Andrew, thanks for your very detailed answer! This is much simpler that anticipated. You are absolutely right, a management command is the most simple approach here. That was the missing piece in my picture. Thank you very much! Jochen Am Mittwoch, 22. Februar 2017 19:55:33 UTC+1 schr

Re: Using Django Channels to subscribe to a Redis channel

2017-02-22 Thread Andrew Godwin
Hi Jochen, Your problem is that if you want to listen to the pubsub channel you will need a dedicated process to do so, as you can't just poll something like that. Given that restriction, you're going to have to write something like a management command that opens a connection to Redis and listens

Re: using django with multiple apps

2017-01-05 Thread bng0802
Thanks Kirby, I will get down to the nitty gritty and let you know what I found out. I appreciate your help - Ben On Thursday, January 5, 2017 at 12:36:36 AM UTC-8, C. Kirby wrote: > > Have you worked through the Django tutorial? Generally the django > documentation is considered to be some of t

Re: using django with multiple apps

2017-01-05 Thread C. Kirby
Have you worked through the Django tutorial? Generally the django documentation is considered to be some of the best framework documentation there is. I sure think so. Specific to your problem, chances are you are having some trouble with either namespacing or scoping. A few things to make sur

Re: using django app functionality offline in browser when internet is inactive and synchronize with the remote server when internet is available.

2016-12-28 Thread roboslone
Hi! Seems like this is a task for your frontend, not Django. You'd probably want to store orders data in client's browser and then call some handler on your backend (Django), that would correctly process this data. You should be careful, though, because clients could send malformed data to that

Re: Using django pagination or slicing

2016-10-31 Thread ADEWALE ADISA
Thanks fedowag. On Oct 31, 2016 12:01 PM, "王安刚" wrote: > hi > i prefer method 2 > > you can get all the list from db and store it in redis using zadd > each time an ajax request comes, you get the data you need using zrange > > > 在 2016年10月31日星期一 UTC+8上午9:05:07,ADEWALE ADISA写道: >> >> Hello, >> Pl

Re: Using django pagination or slicing

2016-10-31 Thread ADEWALE ADISA
Thanks very much Ludovic for the advice. On Oct 31, 2016 9:53 AM, "ludovic coues" wrote: > I would use 1 + 2 from your list. > > 3 might work on 1000 record, depending on how much data there is per > record. But if you grow to more than 10,000 record, the page loading > can take minutes. I have e

Re: Using django pagination or slicing

2016-10-31 Thread 王安刚
hi i prefer method 2 you can get all the list from db and store it in redis using zadd each time an ajax request comes, you get the data you need using zrange 在 2016年10月31日星期一 UTC+8上午9:05:07,ADEWALE ADISA写道: > > Hello, > Please I need an advice on the best approach to take on the following > i

Re: Using django pagination or slicing

2016-10-31 Thread ludovic coues
I would use 1 + 2 from your list. 3 might work on 1000 record, depending on how much data there is per record. But if you grow to more than 10,000 record, the page loading can take minutes. I have experienced that issue with two different project. Django pagination by itself won't give you the in

Re: Using django/mod_wsgi with apache httpd ErrorDocument seems to confuse reverse URL mapping

2016-06-27 Thread Patrick Ethier
Quick update, the answer to my question in reading the source code is to set FORCE_SCRIPT_NAME=/wsgi-app/ from the example below. It also seems that the trailing slash in the WSGIScriptAlias is not appropriate, so the directive should be: WSGIScriptAlias /wsgi-app ... It also seems, as per this

Re: Using django login functionality in a non django app

2016-05-03 Thread Larry Martell
So I have been working on this and I think I am very close. I have a view /falcon_login/ and I have the @login_required decorator on it. It returns user info in JSON. In my Qt app I invoke /falcon_login/ and because the user is not logged in the django login page is brought up. After they login my

Re: Using django login functionality in a non django app

2016-04-27 Thread Avraham Serour
You can just use the session id, call it a token instead of cookie and be happy On Wed, Apr 27, 2016, 6:53 PM Gergely Polonkai wrote: > I would create a separate view for this, like /falcon_login/, which could > give you a plain text result. But that’s totally up to you. > > > > Gergely Polonkai

Re: Using django login functionality in a non django app

2016-04-27 Thread Gergely Polonkai
I would create a separate view for this, like /falcon_login/, which could give you a plain text result. But that’s totally up to you. Gergely Polonkai [image: https://]about.me/gergely.polonkai

Re: Using django login functionality in a non django app

2016-04-27 Thread Larry Martell
Well, not really. I have managed to invoke my django login screen from my Qt app, but after I log in, of course my django app comes up. What I would like is to pass in some parameter to the login screen (which is easy), and then have my django app detect that and after successfully or unsuccessful

Re: Using django login functionality in a non django app

2016-04-26 Thread Gergely Polonkai
That means you have to be able to do it via the API. The other solution is to pop up a web view for these tasks. However, we are moving out from Django field here, as this is getting more and more a falcon/UX-related question. Gergely Polonkai [image: https://]about.me/gergely.polonkai

Re: Using django login functionality in a non django app

2016-04-26 Thread Larry Martell
I need to support create user, change password, delete user and forgot password. On Tue, Apr 26, 2016 at 7:32 AM, Gergely Polonkai wrote: > > > That’s not a big issue if you really communicate with Django via a web-based > API. If the user can’t log in, you can simply redirect them to a web page

Re: Using django login functionality in a non django app

2016-04-26 Thread Gergely Polonkai
That’s not a big issue if you really communicate with Django via a web-based API. If the user can’t log in, you can simply redirect them to a web page. I don’t see the need for user admin functions, though. Gergely Polonkai [image: https://]about.me/gergely.polonkai

Re: Using django login functionality in a non django app

2016-04-26 Thread Larry Martell
Well, the issue with simply implementing auth, is that we'd need to not only implement login, which is easy, but also forgot password, and all the user admin functions. Since we have that already with django I want to leverage that and not reinvent the wheel. On Tue, Apr 26, 2016 at 2:29 AM, Gerge

Re: Using django login functionality in a non django app

2016-04-25 Thread Gergely Polonkai
Now I somewhat understand what falcon is, I suggest that you simply implement auth on you web app (it seems to me there is none or little right now. Of course, you don't have to protect all iour views, or you may want to display a different dataset, but that's another topic. When that is done, you

Re: Using django login functionality in a non django app

2016-04-25 Thread Larry Martell
The Qt app talks to the server with web requests routed to python code by falcon. It currently has no authentication/authorization of any kind. It's not a web app, you can't just navigate to any page, you can only get to parts of the app the code lets you get to. The way I envision it (if possible

Re: Using django login functionality in a non django app

2016-04-25 Thread Gergely Polonkai
Hello, this all depends on how this Qt app communicates with the other end (server side). Does it offer *any* kind of authentication/authorization? If so, look for ways to integrate it with Django. If not, you are screwed anyway (from security point of view), because even if your app pops up a log

Re: Using Django Smart Selects to populate a dropdown menu within a form

2016-01-29 Thread Rafael E. Ferrero
you must to use Ajax to populate the second dropdown Rafael E. Ferrero 2016-01-29 14:08 GMT-03:00 Andrea Pinna : > Dear all, > > I'm very unexperienced with Django but at the same time I'm trying hard to > learn as much as possible. > > In my website I have a form with two dropdown menus, and I

Re: Using Django with Microsoft SQL Server

2016-01-07 Thread whycrying
Sorry. `inspect` -> `inspectdb` . On Fri, Jan 8, 2016 at 12:54 AM, whycrying wrote: > Using django-pyodbc for connecting to SQL Server as Sid said. > > Then use the `inspect` management command to build the models :: > > $ python manage.py inspectdb > models.py > > via: > https://docs.django

Re: Using Django with Microsoft SQL Server

2016-01-07 Thread Sid
I think if you install sql_server.pyodbc it should be fine UNDER databases in *settings.py * 'default': { 'ENGINE': 'sql_server.pyodbc', 'NAME': '--', 'HOST': '', 'USER': '-', 'PASSWORD': '-' documentation: *https://pypi.pytho

Re: Using Django and R in a production environment?

2015-10-07 Thread Andrew Farrell
One option is to use the conda package manager (you can get that here ) to create an environment with `conda create --name django+r django=1.8` activate it with `source activate django+r` And then install R packages with something like `conda install --channe

Re: Using Django and R in a production environment?

2015-10-07 Thread Mike Covington
Not sure if this approach is useful for you, but the following is how we use R and Django together. We use R to build Shiny apps. These are served on their default port 3838 (which users never actually go to directly). I've made a Django app to manage the Shiny apps and simply place them in an

Re: Using Django and R in a production environment?

2015-10-06 Thread Derek
We have up on R altogether and switched to using pandas and related Python modules. Our conclusion was that R is great for the desktop but not well suited to a dynamic web environment (happy to be proved wrong, of course). On Saturday, 3 October 2015 17:55:38 UTC+2, Chanat Praserthdam wrote: >

Re: Using Django and R in a production environment?

2015-10-03 Thread Chanat Praserthdam
Hi Derek, Did you find the solution to your problem? I ran to a similar issue. I am wondering if RServe will work for me. On Tuesday, April 30, 2013 at 12:40:01 PM UTC-7, Derek wrote: > > Thanks Nick; RStudio looks like a really good tool for development work. > > The impression I get though, i

Re: Using django as a socket server and not HTTP server

2015-08-05 Thread Carlos Andre
have a framework to work like this, twistter 2015-08-05 14:03 GMT-03:00 Javier Guerra Giraldez : > On Wed, Aug 5, 2015 at 10:14 AM, Idan Shimon wrote: > > Hi i am interested to setup my own socket protocol against a peripheral > > device > > The socket server would be online and exposed to the w

Re: Using django as a socket server and not HTTP server

2015-08-05 Thread Javier Guerra Giraldez
On Wed, Aug 5, 2015 at 10:14 AM, Idan Shimon wrote: > Hi i am interested to setup my own socket protocol against a peripheral > device > The socket server would be online and exposed to the web, however it will > not work on http. not as it is currently. the issue is that Django is a WSGI app,

Re: using Django on an existing mysql schema

2015-01-30 Thread Russell Keith-Magee
On Fri, Jan 30, 2015 at 10:47 PM, William Muriithi < william.murii...@gmail.com> wrote: > ‎Hello, > > I am new to Django and planning to use it for a project I have in mind. I > am strong in mysql, but not too good in developing. In fact, the secondary > purpose of this project is to improve my py

Re: using Django on an existing mysql schema

2015-01-30 Thread Russell Keith-Magee
On Sat, Jan 31, 2015 at 3:14 AM, Tobias Dacoir wrote: > I'm certainly no Django expert, but I'm not sure if you can use the orm > and an already existing database. > Yes, you absolutely can. There's even a management command (inspectdb) to help write the wrapper models, and a Meta flag (managed=

Re: using Django on an existing mysql schema

2015-01-30 Thread Tobias Dacoir
I'm certainly no Django expert, but I'm not sure if you can use the orm and an already existing database. However the documentation states that you can write all queries yourself, essentially not using the orm. However if you do that, I'm wondering why you want to use Django at all? And pushing

Re: Using django-nocaptcha-recaptcha problem

2014-12-19 Thread Collin Anderson
Hi, This looks like it could just be a CSS thing. You could try posting your issue on the project's github page. https://github.com/ImaginaryLandscape/django-nocaptcha-recaptcha Collin On Wednesday, December 17, 2014 6:08:54 AM UTC-5, Hossein Rashnoo wrote: > > > Hi, I use *django-nocaptcha-re

Re: Using Django with Gulp.js

2014-11-14 Thread Cal Leeming [iops.io]
No problem at all. Also one more thing, to access settings constants from templates you'll need this; http://stackoverflow.com/questions/433162/can-i-access-constants-in-settings-py-from-templates-in-django Gulp sadly does have many of the same performance problems that Grunt has, however the dif

Re: Using Django with Gulp.js

2014-11-14 Thread Some Developer
Awesome answer. Thanks. The only reason I considered using a Python HTML library was because I thought you might need to edit the base template to change the JavaScript and CSS links from the individual files to the main concatenated files when deploying to production. I didn't realise you co

Re: Using Django with Gulp.js

2014-11-13 Thread Cal Leeming [iops.io]
Personally I use a mixture of Vagrant, Docker, Gulp and makefiles to automate the entire process. You run the gulp process as a backgrounded job, and then the django runserver in the foreground.. of course, this means gulp is then not interactive.. if you want both to be inter, then you have to us

Re: Using django to translate html

2014-11-10 Thread Andreas Kuhne
2014-11-10 12:31 GMT+01:00 Andrei Balasanov : > What is the best route to localize HTML using django? There is a clear > documentation what to do with the views/templates and javascript, however > we have a set of the html files that are requiring localization. If we > move them to the template

Re: Using django-ratings; need help

2014-07-06 Thread Sapa S
> > Were you able to get it to work? I want to use a rating app and > django-ratings seems to be the most actively used. And similar to you, I > don't know how to write the template. If you were able to get it working, > could you share your experience? Thanks. > -- You received this mess

Re: Using Django as a framework to deploy python script on a website:

2014-06-14 Thread Daniel Roseman
On Saturday, 14 June 2014 17:22:24 UTC+1, Eran Ariel wrote: > > Hi, I am interested in Django as a platform to deploy applications using > mod_wsgi, accordingly, whether existing Django libraries such as the forms > library could be applied for this purpose as user initiated POST requests – > to

Re: Using Django without templates?

2014-02-28 Thread bobhaugen
On Thursday, February 27, 2014 8:37:45 PM UTC-6, somecallitblues wrote: > You do have to be careful with templates if you're using too many > inclusions or if you have too much logic in them. There's a good django > debug toolbar add-on that informs you about the time a template takes to > comp

Re: Using Django without templates?

2014-02-27 Thread Mario Gudelj
You do have to be careful with templates if you're using too many inclusions or if you have too much logic in them. There's a good django debug toolbar add-on that informs you about the time a template takes to compile. On 27/02/2014 9:47 am, "ApathyBear" wrote: > I was briefly talking with a dev

Re: Using Django without templates?

2014-02-27 Thread Camilo Torres
On Wednesday, February 26, 2014 6:16:39 PM UTC-4:30, ApathyBear wrote: > > He mentioned something that I hadn't really gotten a chance to ask him > more about > He told me to be careful with django templates because in terms of scale, > they can cause problems and almost always need to be re-writ

Re: Using Django User Authentication from an Android App (CSRF issue?)

2014-02-12 Thread Cal Leeming [Simplicity Media Ltd]
On Wed, Feb 12, 2014 at 4:02 PM, Ethan Lowry wrote: > Hi Cal, first off thanks for the detailed response. > > Regarding your second reply I'm not sure I understand the question? The > csrf issue I described *is* the reason I was unable to use POST requests, > which is what I originally wanted to

Re: Using Django User Authentication from an Android App (CSRF issue?)

2014-02-12 Thread Ethan Lowry
Hi Cal, first off thanks for the detailed response. Regarding your second reply I'm not sure I understand the question? The csrf issue I described *is* the reason I was unable to use POST requests, which is what I originally wanted to do. I will look in to all the options in the links posted an

Re: Using Django User Authentication from an Android App (CSRF issue?)

2014-02-12 Thread Cal Leeming [Simplicity Media Ltd]
On Wed, Feb 12, 2014 at 3:17 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hi Ethan, comments in-line; > > > On Wed, Feb 12, 2014 at 1:41 PM, Ethan Lowry wrote: > >> Hi there, >> >> I have a bare-bones Django app set up and am planning on using the built

Re: Using Django User Authentication from an Android App (CSRF issue?)

2014-02-12 Thread Cal Leeming [Simplicity Media Ltd]
Hi Ethan, comments in-line; On Wed, Feb 12, 2014 at 1:41 PM, Ethan Lowry wrote: > Hi there, > > I have a bare-bones Django app set up and am planning on using the built > in Django user auth to manage log in and registration via the Android app > I'm developing. > > I've tried this a number of

Re: Using Django User Authentication from an Android App (CSRF issue?)

2014-02-12 Thread Thomas Leo
>> Obviously this isn't an ideal or secure way of doing things and what I originally tried was sending a POST request, but this gets denied with a 403 and a message about not having a CSRF cookie attached. I haven't developed anything with Android but it sounds like you need to send a CSRF in y

Re: Using Django and R in a production environment?

2013-04-30 Thread Derek
Thanks Nick; RStudio looks like a really good tool for development work. The impression I get though, is that the server is designed for allowing interactive R sessions over the web; whereas for us Django is the primary requirement and calls to R should happen "behind the scenes". On Tuesday,

Re: Using Django and R in a production environment?

2013-04-30 Thread Nick Santos
Is Django a hard and fast requirement? If so, is it just about integrating the routines? I think otherwise something like RStudio Server would work for you. I've deployed it previously and it was a pretty nice setup. It's based on Unix user accounts, so R processes run as if users were running them

Re: Using Django and R in a production environment?

2013-04-30 Thread Derek
" if you write your own R analysis routines, why have them run in a web system" Two issues here: 1. We are writing R routines for someone else; who needs 'analysis on demand' 2. A web system means that multiple users in multiple locations can all readily access the same analysis routines (but wi

Re: Using Django and R in a production environment?

2013-04-29 Thread Javier Guerra Giraldez
On Mon, Apr 29, 2013 at 2:13 AM, Derek wrote: > hat no one is actually using R in a production environment themselves (which > is a little surprising to me). well R itself is widely used in production... but the intersection with Django is very small. (after all, if you write your own R analysi

Re: Using Django and R in a production environment?

2013-04-29 Thread Derek
Again, thanks! But it still seems that no one is actually using R in a production environment themselves (which is a little surprising to me). On Wednesday, 24 April 2013 19:52:19 UTC+2, Alex wrote: > > There is another large potential gotcha, R is very memory heavy. > I do think the route of u

Re: Using Django and R in a production environment?

2013-04-24 Thread lgautier
> (...) You don't really want all your > users using the same R session anyways. Particularly is users are allowed to run their own code, as the original post suggested it. A sandboxing+quota mechanism would also be necessary. L. On Wedn

Re: Using Django and R in a production environment?

2013-04-24 Thread Alex Mandel
There is another large potential gotcha, R is very memory heavy. I do think the route of using Celery or other job management tools makes sense, especially if you can use R across multiple backend machines. Would celery mean one rpy2 per celery? You don't really want all your users using the sa

Re: Using Django and R in a production environment?

2013-04-23 Thread Derek
Thanks Per-Olof No, it has more to do with the issue raised here: https://github.com/Sleepingwell/DjangoRpyDemo/blob/master/README.md#django-configuration Possibly Celery could solve that (?) but I really would like to hear from someone who actually has a production configuration set up and work

Re: Using Django and R in a production environment?

2013-04-23 Thread Per-Olof Åstrand
I am not sure I understand your question, but is it really related to using specifically R? Could it be any kind of heavy number-crunching that needs to be done in the background by a scheduler/task manager? In that case, django-celery may be an option: http://docs.celeryproject.org/en/latest/i

Re: Using Django docs to find widget readonly specification

2013-04-01 Thread Daniel Roseman
On Sunday, 31 March 2013 22:42:12 UTC+1, AJP wrote: > I'm new to learning Django. I want to find the documentation regarding > the readonly attribute you can set for admin widgets. For example, from an > admin.py: > > class SourceForm(forms.ModelForm): > data = forms.CharField(widget=TextInp

Re: Using Django docs to find widget readonly specification

2013-03-31 Thread Alexis Roda
Al 31/03/13 23:42, En/na AJP ha escrit: I'm new to learning Django. I want to find the documentation regarding the readonly attribute you can set for admin widgets. Do you mean? https://docs.djangoproject.com/en/1.5/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields It's link

Re: Using django-profiles app twice in one project.

2012-12-29 Thread Ryan Blunden
The AUTH_PROFILE_MODULE functionality is being deprecated in Django 1.5 in favour of being able to create your own custom User models. It sounds like that would be the way to go, especially as the 1.5 release is just around the corner and trunk is normally rock solid. Cheers, Ryan On 27/12/201

Re: Using django-profiles app twice in one project.

2012-12-27 Thread Bill Freeman
On Thu, Dec 27, 2012 at 12:51 AM, Mark Shervey wrote: > I'm trying to use three different instances of the django-profiles app in > one project (developed here: > https://bitbucket.org/ubernostrum/django-profiles). I can make the whole > thing work fine with one instance, but when I create the th

Re: Using Django to develop a Database?

2012-04-29 Thread Alec Taylor
Quick offside: checkout the NLTK project for processing the information On Sun, Apr 29, 2012 at 5:05 PM, Kevin A wrote: > Hello, > > I'm hoping someone can help me with my research. > > I've been tasked with helping to construct a Database. Within this > database will be information (such as thei

Re: Using Django to develop a Database?

2012-04-29 Thread Timothy Makobu
Django Admin fits your needs well https://docs.djangoproject.com/en/dev/ref/contrib/admin/ On Sun, Apr 29, 2012 at 10:05 AM, Kevin A wrote: > Hello, > > I'm hoping someone can help me with my research. > > I've been tasked with helping to construct a Database. Within this > database will be info

Re: using django templates to generate and replace a file

2012-03-01 Thread Paul Bunker
Thanks Kurtis, It seems so obvious now! :-) I can do ... t = Template(open('users.template').read()) c = Context([get the users from db]) open('users.cfg','w').write(t.render(c)) Thanks for your speedy response! It seems I couldn't see the wood for the trees -Paul On Feb 29, 8:24 pm, Kurtis Mu

Re: using django templates to generate and replace a file

2012-02-29 Thread Kurtis Mullins
Hey, I just thought I'd give you a quick reply. First, you can save the rendered output of a template using this: https://docs.djangoproject.com/en/1.3/ref/templates/api/#rendering-a-context Then, take that String and write over that 'users.cfg' file. For example, http://docs.python.org/tutoria

Re: using django as an inbetween site?

2011-08-25 Thread Cal Leeming [Simplicity Media Ltd]
This is absolutely not enough information for us to help you. Please refer to this document for ideas on what information to include: https://code.djangoproject.com/wiki/UsingTheMailingList I'm sure once you've given us further details, more people will be willing to assist you :) Cal On Thu, A

Re: using django on a server?

2011-05-10 Thread Kenny Meyer
>> Could I get the same functionality by just using pythong cgi and python to >> access mysql? (like php scripting) > > Probably; but that is like if you were to ride a monstrous and untamed > Warhorse, having this cute and little pony which can already do a 100 > tricks. :-) You will not always n

Re: using django on a server?

2011-05-10 Thread Kenny Meyer
> 1. What is the purpose of using a web framework like django? Could I > get the same functionality by just using pythong cgi and python to > access mysql? (like php scripting) A web application framework is a software framework that is designed to support the development of dynamic websites, web a

Re: using django on a server?

2011-05-09 Thread Kenneth Gonsalves
On Mon, 2011-05-09 at 20:33 -0700, raj wrote: > I'm sort of new to all of this, why cloud computing? low end use webfaction medium use a vps high end go for a dedicated server or cloud -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received th

Re: using django on a server?

2011-05-09 Thread Greg Donald
On Mon, May 9, 2011 at 11:02 PM, Eric Chamberlain wrote: > We use Amazon Web Services and can change our setup on an hourly basis. Do they support DNS yet, or are you still responsible for that yourself? -- Greg Donald destiney.com | gregdonald.com -- You received this message because you ar

Re: using django on a server?

2011-05-09 Thread Greg Donald
On Mon, May 9, 2011 at 10:33 PM, raj wrote: > I'm sort of new to all of this, why cloud computing? What exactly is > the advantage of it. Not depending on a host to provide software you have an interest in? > I'm not quite sure how all of this works. I > looked at the rackspace cloud website, an

  1   2   3   >