hello i need to call multiple api with different methode name for the same
informations.
i 'd like to create somme dictionnaire or some things call vocabulary that
easy to add api provider
like
api = get_api(providername)
res = api.providerA["method"](params)
with
providerA={'method': get_some
after project you need to do start app for making module
T.
On Mon, Apr 16, 2012 at 8:17 PM, Buddy Lindsey, Jr.
wrote:
> If you are using Django 1.4 check in the application folder of your
> project below your project folder. It should be in there.
>
>
> Faeez Abd Rahman wrote:
>
>
> Hi,
>
> I h
r heard this before so i think it will be helping me to read this
thanks lot !
Tonton
--
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
hello
i'd like to uderstand how to use this snippet
http://djangosnippets.org/snippets/2225/
i don't understand how it works and if it's work
does anyone use it before ?
regards
T.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
now it 's work
def cleanPath(file):
path= settings.MEDIA_ROOT+"/here/"+str(file)
if default_storage.exists(path):
default_storage.delete(path)
return "file deleted : "+str(file)
si simple ! :o)
tonton
On Fri, Apr 22, 2011 at 9:59 AM, Tonton
like to let my users (authenticate user ) to remove table and all
data inside from the website
thank's for all
Tonton
--
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.
T
> Briefly, your middleware will check if request.user either
> is_authenticated or is_anonymous, then issue a redirect for those not
> logged in.
>
> Shawn
>
>
i don't know
maybe test the login state in your urls.py before evrything
tonton
--
You received th
i beleve it is
@login_required
before the method in views.py to protect access by decorators
http://docs.djangoproject.com/en/1.3/releases/1.2/
On Mon, Apr 4, 2011 at 2:22 PM, GOUTAM KUMAR RANA wrote:
> How to port authentication system to every page so that only logged in
> will able to view
-apache-and-django-on-windows/
good luck
tonton
--
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-user
GIHandler()
things to replace DjangoProject by the name of your project !
/ is your web root
so no other path will work instead you add an alias for apache
Alias /aOtherPath/ /taget/to/a/OtehrPater/
tonton
On Tue, Jan 18, 2011 at 2:22 PM, ashdesigner wrote:
> Hello,
>
> On my VPS, I
!
regards
tonton
On Tue, Jan 11, 2011 at 5:10 PM, prasad iyer wrote:
> Give www-data rwx permission /va/www/dir and start the application
> using the user who is member of www-data
>
> On Jan 11, 4:56 am, Tonton wrote:
> > hello
> > may we use default storage to write o
hello
may we use default storage to write outside of project or only in media
because i can writ in media path ...
my porject : /home/user/project
and i 'd like to write in
/var/www/myoutputdirectory own by what ever you want but i've truy www-data
and the user in my WSGIDaemon in apache conf f
hello i am not sure if i can help you but from my config
use
os.environ["DJANGO_SETTINGS_MODULE"] = "bellcher.settings" (like in
installed apps)
or mv django.wsgi in /Bellcher
WSGIScriptAlias / /www/django/bellcher/django.wsgi
regards
On Fri, Jan 7, 2011 at 2:26 PM, Thomas M wrote:
> Hi,
>
>
on my ubuntu
in the settings . py
'ENGINE': 'django.db.backends.postgresql_psycopg2',
i've seen works with
'ENGINE': 'postgresql_psycopg2',
On Thu, Jan 6, 2011 at 5:32 PM, Peter L. Berghold wrote:
> Having gotten through the first few obstacles, I am now trying to build
> an ap
{% autoescape *OFF* %}
{{ script }}
{% endautoescape %}
On Mon, Dec 20, 2010 at 3:41 PM, Tonton wrote:
> yes i am reading on this
>
> but this
> {{script|escapejs}} seems to not work
> i investigate more
>
> thanks
>
>
> On Mon, Dec 20, 2010 at 3:37 PM, Tom
yes i am reading on this
but this
{{script|escapejs}} seems to not work
i investigate more
thanks
On Mon, Dec 20, 2010 at 3:37 PM, Tom Evans wrote:
> On Mon, Dec 20, 2010 at 2:20 PM, Tonton wrote:
> > hello
> >
> > i don't the the name of ' and this &q
w/geomod/demo.map&';,
// make comment for the rest of the line :(
and & became &
and ' became '
so my script not working
did someone knows how to change this ?
regards
tonton
--
You received this message because you are subscribed to the Google Groups
"D
possible
but how to use varaible ine the request ?
here it is my table name store in y
:)
On Thu, Dec 16, 2010 at 4:02 PM, W. Craig Trader wrote:
> Tonton ...
>
> See <http://docs.djangoproject.com/en/1.2/topics/db/sql/> for details on
> how to use so-called 'raw' SQL (
Hello
i like to use some database table that are not in my models.py
in fact some of table will be add and remove by script
is it possible to use some sql queries with it ? on not at all ?
regards
tonton
--
You received this message because you are subscribed to the Google Groups
"D
On Mon, Oct 4, 2010 at 3:20 PM, Tonton wrote:
> hello
>
> i use this form to have a choice list and change to another on select
>
>
>
> {{carte.titre}}
> {% for carte in latest_carte_list %}
> {{carte.ti
is my urls line to use http://mywebsite/cartes/id what i want to have
(r'^(?P\d+)', 'suivix'),
and it is not working great :o(
so i don't know what to write in my form to have /cartes/id or in my
urls.py file to translate /cartes/?=id in /cartes/id ?
Thanks for y
21 matches
Mail list logo