Re: Calling Oracle Stored Procedures with REF CURSOR I get "unhandled data type CursorDebugWrapper"

2014-10-05 Thread Enyert Viñas
Hi Néstor,

Please provide us your code, so we can help you with this issue.

Best regards

2014-10-05 11:38 GMT-04:30 Néstor Boscán :

> Hi
>
> I'm trying to use DJango to call Oracle Stored Procedures with REF CURSOR.
> When I execute it I get: "unhandled data type CursorDebugWrapper". It looks
> like cx_Oracle doesn't like the DJango cursor wrapper.
>
> Regards,
>
> Néstor
>
> --
> 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 to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/52dd87fc-674b-4acf-b489-dd70d914caad%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPe5H68ovdJtPge-JNgbTVM5XkTv_%3D%3DqcPWscbxJf2imSP6_wQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Insite help

2014-01-21 Thread Enyert Viñas
Right now you dont need WYSIWYG editors. Just learn Chrome
DevTools and
use a text editor. For example Vim, Sublime Text or Emacs. You can try an
IDE like eclipse or PyCharm too.

Regards.


2014/1/21 Matthew Stroud 

>  I have been working on an application and it's working quite well.
> However I have been requested to have insite help integrated in to the site
> (e.g. a help button). Though I could just create static pages and serve
> them up, I would much rather have something that has a WYSIWYG editor that
> I can edit the pages on the fly. Any suggestions?
>
> --
> 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 to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/00a22c6b-45f2-48cc-b945-1247234c2674%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPe5H6-yXy6m7owgJ_03BQsW8xG%3DHpGFwvpWuiqpQAhXjAz1Ww%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: A really simple hosting for my Django app?

2013-06-15 Thread Enyert Viñas

On 06/15/2013 03:18 PM, Jonathan D. Baker wrote:
Check out webfaction. They have a ton of documentation, great support 
and it's only $10/mo.


Sent from my iPhone

On Jun 15, 2013, at 1:32 PM, thoms > wrote:



Hi there!

I just finished my first Django app that's working great locally. I 
have a PHP background, and I'm already a big fan of Django :)

Now I'm looking to host my new app online, but where and how?

My only requirement: I want something *really simple*.
I'm not a sysadmin, and I'm usually pretty bad at playing with the 
command line to install/configure stuff.
That's why I'm looking to something extremely simple. Something like 
"drag and drop your app folder here, and it's done" would be great.


Does a really simple Django hosting solution exist?
Thanks for your help! --
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 to django-users@googlegroups.com 
.

Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
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 to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.



My recommendation is: https://www.openshift.com/


--
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 to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User authentication with either username or email.

2013-06-14 Thread Enyert Viñas

El 14/06/2013 07:26 a.m., shashank sandela escribió:

unbound method authenticate() must be called with EmailOrUsernameModelBackend 
instance as first argument (got nothing instead)
Hi. Remember that you must import a function before you call it. This is 
a reference to authentication in Django 
https://docs.djangoproject.com/en/1.5/topics/auth/default/#how-to-log-a-user-in 



Regards.

--
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 to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Button action to delete files from server

2012-09-17 Thread Enyert Viñas
Django provides a File class (django.core.files.File) with File.save() and
File.delete methods. You can associate an action to delete and use
File.delete() to do this task.

2012/9/17 xactive 

> I have little experience with Django/Python but have a problem that I need
> to solve.
>
> Currently I have a button action that allows users of a website to
> download files from a displayed list. I want to add a button to allow users
> to delete the files if required.
>
> The current download button is set up as follows on the page itself:
> Download
>
> And as far as I can see there is a file called views.py which contains
> code as follows:
> @login_required(login_url='/portal/login/', redirect_field_name=None)
> def file_view(request, id, template_name='portal/file_view.html'):
> try:
> f = File.objects.get(pk=id)
> except File.DoesNotExist:
> raise Http404
>
> if request.user not in f.recipients.all() and request.user != f.owner:
> return HttpResponseForbidden()
>
> if request.GET.has_key('action') and request.GET['action'] ==
> 'download':
>
> filename = f.file_obj.name.rsplit('/', 1)[1]
>
> response = HttpResponse()
> response['Content-Disposition'] = 'attachment; filename=%s' %
> filename
> response['Content-Length']  = ''
> response['X-Accel-Redirect']= '/%s' % f.file_obj.name
>
> return response
>
> return render_to_response(template_name, {
> 'file': f
> }, context_instance=RequestContext(request))
>
>
> Can somebody please help me to create an action to delete files?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/kckZZ137xigJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Instaling django

2012-08-30 Thread Enyert Viñas
U need to install django correctly. Check that you have the a supported
python version for your django version. Try easy_install django or pip
django. I think the installation instruction from django project site
https://www.djangoproject.com/download/ are clear. If you are in windows
use your favorite extractor on Django-.tar.gz, extract it -> go to
the extraction target folder and execute the command python setup.py
install in a session with admin privileges


2012/8/30 Balle 

> Hi,  I have been trying to download django with every options but when i
> run pyhton on the terminal and then asks to import django.  It always says
> no mudule named django.  Could you pls help, donload it.  Thank you in
> advance
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/Y-zKRgFv_a4J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: new to django

2012-08-21 Thread Enyert Viñas
u can just do python manage.py runserver. Then django will create a
"server" at localhost:8000 or 127.0.0.1:8000

2012/8/21 Kurtis Mullins 

> python manage.py runserver
> Then open your browser and goto http://localhost:8000
>
>
> On Tue, Aug 21, 2012 at 12:43 PM, maha  wrote:
>
>> .don know what to do after that..
>>
>>
>>>
>>>
>>>
>>>
>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/m5g03N065jAJ.
>>
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.