Re: Setting up jQuery in debian with virtualenv

2016-11-09 Thread Antonis Christofides
Hi, If, as you say, you "have a jquery file under version control inside [your] virtual environment wrapper", I believe you are doing something wrong. We normally don't put jquery files in virtualenv (although `pip install django` will do so), and we normally do not version control the virtualenv.

Re: ORA-00942: table or view does not exist

2016-11-09 Thread Jeffrey Uvero
Thank you for your response ,, Yes. I applied migration, when I applying for that, another error comes out return self.cursor.execute(query, self._param_generator(params)) django.db.utils.DatabaseError: ORA-00955: name is already used by an existing object On Thu, Nov 10, 2016 at 9:26 AM, Charl

Re: ORA-00942: table or view does not exist

2016-11-09 Thread Charly Román
Do you applied your migrations? Charly Román Software Developer http://croman.mx 2016-11-09 19:08 GMT-06:00 jeffreyequizuvero : > *Hi everyone.* > > *I am new in Django Development and I encountered this problem, please > help* > > *TIA* > > *Jeffrey E. Uvero * > > > DatabaseError at /login/ > >

ORA-00942: table or view does not exist

2016-11-09 Thread jeffreyequizuvero
*Hi everyone.* *I am new in Django Development and I encountered this problem, please help* *TIA* *Jeffrey E. Uvero * DatabaseError at /login/ ORA-00942: table or view does not exist Request Method: POST Request URL: http://127.0.0.1:8000/login/ Django Version: 1.10.1 Exception Type: Databa

Re: Non relational databases (MongoDB) with Django

2016-11-09 Thread SiamDjango
I was wondering if you end up using MongoDB with Django, did you use non relational version of Django? how was your experience? On Wednesday, August 17, 2016 at 1:28:31 AM UTC-7, Deep Shah wrote: > > I want to use MongoDB with Django. Which are the advisable, latest and > stable engines? > I fo

Re: Admin - saveasnew to another database

2016-11-09 Thread Mike Dewhirst
On 10/11/2016 12:06 AM, Tim Graham wrote: I see. Although I would be interested to see what you come up with, @Tim It is getting there so if you are really interested I'll post it somewhere when it is working. I'm getting router errors at the moment which I might be able to workaround by permi

Re: Setting up jQuery in debian with virtualenv

2016-11-09 Thread Javier Guerra Giraldez
On 9 November 2016 at 13:54, Gary Roach wrote: > I want to know how to use the pip installed version of the jquery file if > possible. you can check what the admin templates do. probably something like {% url "admin/js/vendor/jquery/jquery.min.js" %} -- Javier -- You received this message

Re: Setting up jQuery in debian with virtualenv

2016-11-09 Thread Gary Roach
Ludovic Thank you for the reply but I know how to use static files. The problem is that I already have a jquery file under version control inside my virtual environment wrapper and do not wish to use an external file . Use of a normal static file will open my application up to uncontrolled ve

Re: Setting up jQuery in debian with virtualenv

2016-11-09 Thread ludovic coues
Hello, Django provide tools to deals with static files like javascript or css. The documentation is at [1]. [1] https://docs.djangoproject.com/en/1.10/howto/static-files/ 2016-11-09 21:26 GMT+01:00 Gary Roach : > Hi all, > > I am just starting to use jQuery and Ajax in my project and am having >

Re: External access

2016-11-09 Thread bob gailer
Here is an update on my situation. Windows firewall - I setup in and outbound rules for port 8000 (UDP and TCP) Router - I set up port forwarding for port 8000 (UDP and TCP) Using example code in the socket module documentation I ram socket_client and socket_server on my local machine with the p

Using PyMySQL as a MySQL driver

2016-11-09 Thread Craig Bruce
Hi, I have to use MySQL and an associated driver. Looking through the options in the docs my choices are limited since a) I use Python 3 and b) I can't use GPL code. Unless Django importing a GPL library does not qual

Setting up jQuery in debian with virtualenv

2016-11-09 Thread Gary Roach
Hi all, I am just starting to use jQuery and Ajax in my project and am having trouble setting things up. I am using Eclipse + pyDev as an IDE. This setup stores everything in a workspace directory in my home directory. Instead of putting the whole project inside a virtualenv wrapper, things

Re: strategies for adding a custom group permission

2016-11-09 Thread Larry Martell
On Wed, Nov 9, 2016 at 8:32 AM, Melvyn Sopacua wrote: > On Tuesday 08 November 2016 09:55:51 Larry Martell wrote: > >> I need to add a configurable data filter that will be used in my app >> and I want that filter to be specifiable at the django group level. I >> want to be able to give users perm

Re: Best practices for directories in which to store stuff in production

2016-11-09 Thread Vijay Khemlani
I prefer to keep everything in /home (at least the virtualenv, project code, settings and logs), that way you don't need special permissions to modify those files and it is more or less separated from the system files. static and media files in Amazon S3 Caching... I used memcached, so I have no

Re: strategies for adding a custom group permission

2016-11-09 Thread Melvyn Sopacua
On Tuesday 08 November 2016 09:55:51 Larry Martell wrote: > I need to add a configurable data filter that will be used in my app > and I want that filter to be specifiable at the django group level. I > want to be able to give users permission, both at the group level and > the user level, to edit

Re: Admin - saveasnew to another database

2016-11-09 Thread Tim Graham
I see. Although I would be interested to see what you come up with, my initial reaction is that we wouldn't accept a patch for Django to do this. It seems too complex and brittle. I agree with Melvyn that it seems unusual to use Django's multi-database facilities to transfer data between stagin

Re: Admin - saveasnew to another database

2016-11-09 Thread Melvyn Sopacua
On Wednesday 09 November 2016 13:59:35 Mike Dewhirst wrote: > On 9/11/2016 9:13 AM, Tim Graham wrote: > > Interesting idea. I'd be interested to here more about the use case. > > Simple. I permitted my users to "play" on the staging site and now one > of them wants to transfer their work to the pr

Re: Canonical way of handling multiple types of users? (Profiles vs subclassing django.contrib.auth.models.AbstractUser)

2016-11-09 Thread Melvyn Sopacua
Hi, > What is the current canonical way to handle multiple user-profiles in > Django? it highly depends on how you see these objects: 1. different types of users (requirement: a user can only be one type) 2. one type of user with additional information from different sources 3. different types o