on the source not returning,
> write again and I, or someone else, with think with you some more.
>
>
>
> On Tue, Oct 15, 2013 at 9:59 AM, doniyor
> > wrote:
>
>> yes, db code is doin all these calls in single transaction, i mean, i am
>> not using transactions,
n += len(s)
> print n
> print 'done'
>
> That should work. If not, does your O/S not correctly handle files that
> big?
>
> Bill
>
>
> On Tue, Oct 15, 2013 at 6:55 AM, doniyor
> > wrote:
>
>> I am reading file from url and par
I am reading file from url and parsing it and saving some information out
of this file into db - using cron job.
i am testing now in my local dev.
the problem is: job is reading file and saving into db without any problem
but after some time, since file is very huge approx. >8GB, job doesnot
I am really stuck in this problem for a while. this is really challenging
for me. .. tough one...
i have two models. Location and Rate.
each location has rates, possibly multiple rates.. let me give you my
models:
class Location(models.Model):
name = models.TextField()
adres = models.Te
hey guys, i am stuck in this problem. i posted the problem on
stackoverflow.com
also,
http://stackoverflow.com/questions/14787772/sorting-queryset-of-search-result-and-render-back-thru-ajax
but till now no one could answer there, so i am asking here again. anyone
can help me? :(
--
You rece
Hi there,
i am stumbling over this step: i have django project running at my pc
local, i want to deploy it to server to see it online. I have bought the
hosting service from djangoeurope.com. they have that one-click django
installer, it installs the environment with its lighttpd settings. now
> It's not free but they have a 30 day trial period
> >
> >
> > On 31 May 2012 00:09, doniyor wrote:
> >>
> >> @somecallitblues: pycharm is not free, right? but i am really willing
> to
> >> give a try for this. i am using for year
@somecallitblues: pycharm is not free, right? but i am really willing to
give a try for this. i am using for years Aptana studio which is completely
fullfulling my wishes, but "pycharm loves django" sounds great!
Am Mittwoch, 30. Mai 2012 15:59:13 UTC+2 schrieb somecallitblues:
> You seriously
what do you mean? should i do better chmod 755 which is more secure than
777?
Am Mittwoch, 30. Mai 2012 14:29:14 UTC+2 schrieb Thomas:
> On 5/30/12 1:11 AM, doniyor wrote:
>
> hey man, problem solved. i did *chown www-data. . *then *chmod 777
> dbfile *now everything is
hey man, problem solved. i did *chown www-data. . *then *chmod 777 dbfile *now
everything is working fine. thank you so much for your time and help.
r u from europe?
Am Mittwoch, 30. Mai 2012 09:49:33 UTC+2 schrieb lawgon:
>
> On Wed, 2012-05-30 at 00:37 -0700, doniyor wrote:
>
2-05-29 at 23:29 -0700, doniyor wrote:
> > okay, now it said nothing, the command went well. but the page is
> > still
> > showing me error: unable to open database file.
>
> you need to chown -R
> www-data:www-data /directory_in_which_the_dbfile_is/
> --
> regards
okay, now it said nothing, the command went well. but the page is still
showing me error: unable to open database file.
Am Mittwoch, 30. Mai 2012 08:24:31 UTC+2 schrieb doniyor:
>
> if i do 'sudo chown www-data dbfile' it says, the access is not permitted
> to db file..
if i do 'sudo chown www-data dbfile' it says, the access is not permitted
to db file..
Am Mittwoch, 30. Mai 2012 08:17:37 UTC+2 schrieb lawgon:
>
> On Tue, 2012-05-29 at 23:06 -0700, doniyor wrote:
> > now i did 'sudo chgrp www-data . dbfile' but it says: i
now i did 'sudo chgrp www-data . dbfile' but it says: invalid group
www-data. do i have to create it first?
Am Mittwoch, 30. Mai 2012 07:58:41 UTC+2 schrieb lawgon:
>
> On Tue, 2012-05-29 at 22:45 -0700, doniyor wrote:
> > my browser isnot openning irc url, i dont know w
my browser isnot openning irc url, i dont know why.
thing is, root is running the apache. it means, i should chown root to all
my files right?
Am Dienstag, 29. Mai 2012 23:17:19 UTC+2 schrieb Rafael Durán Castañeda:
>
> El 29/05/12 22:38, doniyor escribió:
>
> hey thanks, but
superuser
to apache user group or something like this. i am actually not a linux
guru, so i am really stuck here..
Am Dienstag, 29. Mai 2012 21:59:53 UTC+2 schrieb Rafael Durán Castañeda:
>
> El 29/05/12 19:07, doniyor escribió:
>
> i did 'top', and then " ps au
i did 'top', and then " ps aux | grep apache " to see. the root is running
the apache. what should i do now? chown root folder/dbfile , right ?
Am Dienstag, 29. Mai 2012 17:57:03 UTC+2 schrieb Rafael Durán Castañeda:
>
> El 29/05/12 16:56, doniyor escribió:
>
hey guys, i need your help again,
after successful deployment, i wanted to do something with database but it
says:
DatabaseError at /ajax/
unable to open database file
because ajax is trying to write something to db. what can be the problem. in my
settings.py the path is this:
PROJECT_PAT
okay i solved it by rendering a list of names
Am Sonntag, 27. Mai 2012 08:07:26 UTC+2 schrieb doniyor:
>
> yeah, you are right.. now i have another html-related problem. well, now i
> have even all html fields created thru for-loop. but now all of them have
> the same attr value
7;. i want to get all
of them..
sorry for being dumb
Am Sonntag, 27. Mai 2012 07:40:58 UTC+2 schrieb lawgon:
>
> On Sat, 2012-05-26 at 07:03 -0700, doniyor wrote:
> > for example: user has selected 3 items from products table and then
> > goes to
> > next step wher
totally wrong and different.
this is exactly what i want.
Many thanks to you and Kenneth again
Am Samstag, 26. Mai 2012 23:31:48 UTC+2 schrieb Daniel Roseman:
>
> On Saturday, 26 May 2012 15:03:47 UTC+1, doniyor wrote:
>>
>> the reason why i want to do this is this:
>>
&g
el Roseman:
>
> On Saturday, 26 May 2012 09:08:47 UTC+1, doniyor wrote:
>>
>> Yeah, but then i dont create htmls. What i want is to create so many
>> htmls as the number of objects in db. Is it possible to go around the
>> “return“ till the end of loop? Then i will have al
Is it then possible to start ajax response from view function without any ajax
request from client-site? but i think this wont solve the problem because even
in ajax function i need return statement right?
--
You received this message because you are subscribed to the Google Groups
"Django us
Yeah, but then i dont create htmls. What i want is to create so many htmls as
the number of objects in db. Is it possible to go around the “return“ till the
end of loop? Then i will have all htmls created with rendered values. Is it
possible to render a html particle wihthout return statement..
Sorry i forgot my {{ col}} and {{row}} variables in template, please assume
that it is there, i just forgot in posting in forum..
--
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.c
hey guys, i need again a small help. i want to create so many htmls as the
number of objects of my model in db. i am trying, but it is stopping after
the first creation, because i am doing render_to_response and after the
first render_to_response it is not going to the second loop, because i
"r
Cool, thanks, i will play with the advices given by you guys.. I will post the
solution that has worked for my prob..
Thanks 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.goog
hey guys,
i need to loop over the number of ids of objects in my db table and create
accordingly the same number of html fields. how can i do it.. my effort is
this:
numberOfIds = Produkt.objects.count()
i = 1;
for i in range(0,numberOfIds):
p = Produkt.objects.get(
..
Am Samstag, 19. Mai 2012 07:52:58 UTC+2 schrieb doniyor:
>
> Hi
>
> i have this problem, i dont why, i have root_urlconf in my settings.py. i
> cannot figure out what it wants from me.. pls help
>
>
>
--
You received this message because you are subscribed to th
as Kurtis said, you need {% csrf_token %} and your rendering response
should be something like this:
return render_to_response('index.html', {'your_key':
your_value},context_instance=RequestContext(request)) and those your
value will be rendered thru youe_key tag.
here is how your form sh
Hi
i have this problem, i dont why, i have root_urlconf in my settings.py. i
cannot figure out what it wants from me.. pls help
--
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.
okay, i solved the problem.. ctrl + 1. and import to parent modules.. and
thats it..
Am Freitag, 18. Mai 2012 22:43:17 UTC+2 schrieb doniyor:
>
> hey guys,
>
> i am getting this error when i try to write my view.
>
> when i import this, from django.http import Http
hey guys,
i am getting this error when i try to write my view.
when i import this, from django.http import HttpResponse, the word
HttpResponse is red error. Unresolved Import: HttpResponse.
i dont understand why. i am using python 2.7 and django1.4. what i did
before this is, i changed from
try this
urlpattern = patterns(' ',
url('^hello/$,hello),
)
Am Donnerstag, 17. Mai 2012 20:58:23 UTC+2 schrieb Ali Shaikh:
>
> Hey...
>
>
> I am practicing to implement simple examples in django...
>
> started project with
> 1.django-admin.py startproject wikicamp
> 2.python manage.py s
you need something like this *^wikicamp/* separately, because even if your
url doesnot match anything for page_name, your url is still asking
something for *^wikicamp/at_least_something/* .
Am Freitag, 18. Mai 2012 10:02:37 UTC+2 schrieb Ali Shaikh:
>
> Using the URLconf defined in wikicamp.
Hey guys,
i am getting this error while trying the command: django-admin.py
startproject test
can it be that i am using 2 versions of django at the same time? first what
i did was: i wanted to install django1.4 and i did. then many errors came,
then i switched back to django1.3, in between i
ajax views in ajax.py, and the result is then sent back to the same
> html page. But how exactly does your method work? (I have no experience in
> ajax.)
> For example, how do you call an ajax function and how do you link it to
> views.py?
>
>
> On Saturday, May 12, 2012 12:
sorry for bad advice.. i thought i could work,,
Am Dienstag, 15. Mai 2012 08:52:35 UTC+2 schrieb lawgon:
>
> On Mon, 2012-05-14 at 09:06 -0700, doniyor wrote:
> > delete your app from INSTALLED_APPS and syncdb, AND list it again in
> > INSTALLED_APPS and syncdb again..
>
-ing as has RW permissions on the desired
> folder.
>
>
> On Tue, May 15, 2012 at 9:00 AM, doniyor wrote:
>
>> Hi Nik, thanks for help, but look, is it possible to configure the
>> httpd.conf or anything which is responsible for upcoming files so that all
>> files
user doesn't have
> filesystem permissions to the folder you're trying to upload to. I would
> change either owner or group for the folder.
>
> _Nik
>
> On 5/14/2012 6:19 PM, doniyor wrote:
> > hi there, finally i got my djangoproject running on apache server
>
06:13 -0700, doniyor wrote:
> > hey lawgon, one more question. i did the steps. but still not
> > working.
> > could you please take a look into my whole project on server if i give
> > you
> > the access thru PuTty?
>
>
> no problem - s
hi there, finally i got my djangoproject running on apache server after 3
days of thinking and googling.. i should say, linux folder hierarchie is
sometimes not really intuitive to grasp..
my last problem though: i created a folder outside of the docroot and now
all files are there. so good so
@Aaron: you are more than right,
Am Montag, 14. Mai 2012 19:44:35 UTC+2 schrieb Aaron C. de Bruyn:
>
> Try here:
>
>
> https://code.djangoproject.com/wiki/DjangoResources#IntegratedDevelopmentEnvironments
>
>
> But keep in mind, a good carpenter can work with a $5 hammer or a $50
> hammer.
aptana standalone is the whole aptana ide and NOT a plugin for eclipse.
(you can also install a aptana plugin into eclipse)
Am Montag, 14. Mai 2012 18:29:40 UTC+2 schrieb Sanjay M:
>
> Thanks for all the replies, But what is the difference between aptana
> standalone version eclipse plugin ver
aptana is the best, free and light.
Am Montag, 14. Mai 2012 17:56:22 UTC+2 schrieb Sanjay M:
>
> I am new to Django, and I was confused in choosing a IDE between Eclipse
> and aptana studio 3 to edit source code. Kindly suggest me a good one.
>
> Thank you in advance,
> Regards,
> Sanjay M
>
>
delete your app from INSTALLED_APPS and syncdb, AND list it again in
INSTALLED_APPS and syncdb again..
if it doesnot work, do this:
delete your db, then syncdb, then list your app in INSTALLED_APPS and
syncdb again.
Am Montag, 14. Mai 2012 17:54:35 UTC+2 schrieb Mac:
>
> Every time I edit
hi there, please help me, i am just right on the coast of success, but
cannot find the clue somehow.. this is my thread:
https://groups.google.com/forum/?hl=de&fromgroups#!topic/django-users/0UYopuCkvXo
my only question is: What is Docroot and what should live there?
my page is showing the fi
one more thing, there are wsgi.py and example.wsgi files. are they
equivalent or they are different files? and where should they live ?
Am Montag, 14. Mai 2012 15:13:03 UTC+2 schrieb doniyor:
>
> hey lawgon, one more question. i did the steps. but still not working.
> could you plea
project where files are
downloadable, but cannot show anything because the docroot is empty. why
isnot it working i am burning like anything.
Am Montag, 14. Mai 2012 14:56:51 UTC+2 schrieb doniyor:
>
> oh okay, many thanks..
>
>
> Am Montag, 14. Mai 2012 13:37:48 UTC+2 schrieb l
oh okay, many thanks..
Am Montag, 14. Mai 2012 13:37:48 UTC+2 schrieb lawgon:
>
> On Mon, 2012-05-14 at 01:22 -0700, doniyor wrote:
> > by the way, i am just on terminal, accessing the remote server via
> > PuTTy.
> > so i should push the whole project to some rep
by the way, i am just on terminal, accessing the remote server via PuTTy.
so i should push the whole project to some repository and pull it into a
project folder on server from repository, right?
Am Montag, 14. Mai 2012 09:51:23 UTC+2 schrieb doniyor:
>
> hi there, i need your help
so the docroot should remain as it was, right? what is actually docroot? is
it the folder which the www needs to open the webpage?
Am Montag, 14. Mai 2012 09:51:23 UTC+2 schrieb doniyor:
>
> hi there, i need your help again,
>
> i configured my httpd.conf file, i told him
hi there, i need your help again,
i configured my httpd.conf file, i told him where is my django.wsgi file.
the directory is this: /usr/local/django/mysite/myproject. What i dont
understand is: during configuration, do i have to 'startproject'? or will i
just copy my djangoproject in this 'd
ct config shouldn't reveal any actual files.
>
> On Sat, May 12, 2012 at 8:20 AM, doniyor wrote:
>
>> hey guys, i was configuring my django project on server, in httpd.conf
>> file. suddenly i have 500 Internal Server Error. before that i had the page
>> where files c
:D yeah you are right, i am not pro in linux world.. how can i know the
version of linux then ?
Am Samstag, 12. Mai 2012 08:01:34 UTC+2 schrieb lawgon:
>
> On Fri, 2012-05-11 at 22:54 -0700, doniyor wrote:
> > i think, i have SuSe.
>
> there are only about a 100 rpm based
i think, i have SuSe.
Am Samstag, 12. Mai 2012 07:51:23 UTC+2 schrieb lawgon:
>
> On Fri, 2012-05-11 at 22:45 -0700, doniyor wrote:
> > hey, thanks, now i can with 'service httpd restart'.
>
> so you have redhat, fedora or centos - mention this when you ask such
&
cannot you 'redirect' to the whole url like this:
if form.is_valid():
thank you page
else:
*return redirect('http://www.test.com/form#filled') *
*
*
or you can also redirect just to /form#form/ i think...
*
*
*
*
Am Freitag, 11. Mai 2012 23:43:50 UTC+2 schrieb brian:
>
> I have form that
; On Thu, 2012-05-10 at 13:01 -0700, doniyor wrote:
> > Hi there, i need a small help. as the titel says, i cannot restart
> > the
> > apache, i can get the version of apache, so it is there, but i cannot
> > restart it. OS is Linux. what can be the prob
hey guys, i was configuring my django project on server, in httpd.conf
file. suddenly i have 500 Internal Server Error. before that i had the page
where files can be just downloaded. how can i fix this? apache2.2 is
running and mod_wsgi is installed. i think, i dont know how to tell apache
abou
just after your for loop, you can call ajax function which takes the values
of your newly created lists and submits this further to your view. you dont
need to load the whole page and the data will silently go to your view.
Am Freitag, 11. Mai 2012 23:37:08 UTC+2 schrieb voss:
>
> Hello,
>
>
e enough, but try commenting out other virtual hosts to
>> reduce noise, and also comment out:
>>
>> #DocumentRoot /usr/local/httpd/vhtdocs/stahlbaron/
>>
>> You might need to add:
>>
>> Order
>> deny,allow Allow from all
>>
>>
>
i should say, django is the most beautiful framework for working with big
pages also. may be it is because i like python, language is not a chaos
language, it is clean and powerful. and django can work with flash although
flash is a different topic from django..
Am Samstag, 12. Mai 2012 04
i solved this, but not all. now i see the folders and files downloadable in
browser instead of a webpage. Why is this?
--
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/dj
hey guys, i am stuck here.. please help me :( i cannot serve my project on
server, it says 403 You don't have permission to access / on this server.
this is my httpd.conf file.
ServerAdmin webmaster
Servername afect.stahlbaron.de
Serveralias www.afect.stahlbaron.de
DocumentRoo
Hi There, finally i tried to upload my djangosite, using filezilla. but
during upload every file upload is throwing error saying: 550 failed to
change directory.
what can be the reason? can it be access right which i can change thru
chmod or so? where is the problem, in my server or in my file
Hi there, i need a small help. as the titel says, i cannot restart the
apache, i can get the version of apache, so it is there, but i cannot
restart it. OS is Linux. what can be the problem, anyone has had experience
with this?
many thanks
doni
--
You received this message because you are
if your problem is how to serve your static files, just create a folder
with name static in your main app, then put all of your static files and
and your STATIC_URL is /static/.
Am Samstag, 5. Mai 2012 15:34:47 UTC+2 schrieb e.generalov:
>
> There was a snippet to display a content of respons
;
>
> http://blog.kevin-whitaker.net/post/725558757/running-django-with-postgres-nginx-and-fastcgi-on
>
>
> http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/
>
>
>
>
> On Thursday, 10 May 2012 07:23:11 UTC-5, doniyor wrote:
>>
&g
Hi there,
i need a small help: i have a django site, which is ready to test. now i
talked to a hosting service, they had only php and mysql supporting server,
but not django. they gave me a virtual server, where i can install django
and put my site there. now i am stuck. i dont know how to ins
ngo.http import HttpResponse
>
> def ajax(request):
> return HttpResponse('test', mimetype="text/plain")
>
> 2012/5/5 doniyor :
> > hi there,
> > i have a small problem. i googled a lot, but couldnot find anything
> which
> > helps
hi there,
i have a small problem. i googled a lot, but couldnot find anything which
helps me.
i have $.ajax call and before that i have included the js file where i have
that csrf-protection code from djangodocs.
here is my ajax call: http://dpaste.com/hold/743156/
but once i click on the e
0 UTC+2 schrieb doniyor:
>
> hi
> here is the url of dajaxice in my settings.py. url(r'^%s/' %
> settings.DAJAXICE_MEDIA_PREFIX, include('dajaxice.urls')),
>
> it is so as given in the docs. or should i configure something somewhere?
> it seems that the
hi
here is the url of dajaxice in my settings.py. url(r'^%s/' %
settings.DAJAXICE_MEDIA_PREFIX, include('dajaxice.urls')),
it is so as given in the docs. or should i configure something somewhere?
it seems that the problem is here..
Am Freitag, 4. Mai 2012 10:10:25 U
Hey, thanks, i will try today and let you know. Actually, i did just the same
things shown in installation guide. It cannot find it thru this
127.0.0.1:8000/dajaxice/dajaxice.core.js link.
What was the problem in your case?
Thanks many
--
You received this message because you are subscribed
likely a whole
> different problem from the "Dajaxice is not defined" issue.
>
> On Thu, May 3, 2012 at 2:01 PM, doniyor wrote:
>
>> Hi There, i need really your help
>>
>> i have been having this problem since 3 days.. it is really annoying me,
>> i
Hi There, i need really your help
i have been having this problem since 3 days.. it is really annoying me, i
dont know why it is happening. The Problem is:
i am trying to use dajax in my page and i followed all steps several times
as given hier: http://dajaxproject.com/
but once i click
hey Amao, great help :))) i really didnot see this dummy mistake..
thanks great and chrs
On 4 Mrz., 15:53, Amao Zhao wrote:
> the APP_INSTALLS in your settings.py is a list. please recheck your 'filer'
> and so no.
> 在 2012-3-4 下午10:07,"doniyor" 写道:
>
>
&
by the way, i am using django-cms-2.2
On 4 Mrz., 15:07, doniyor wrote:
> Hi there,
>
> i need your help, i am trying to setup cms of my webpage, but
> everytime i run the "python manage.py syncdb" the error comes:
> django.core.exceptions.ImproperlyConf
Hi there,
i need your help, i am trying to setup cms of my webpage, but
everytime i run the "python manage.py syncdb" the error comes:
django.core.exceptions.ImproperlyConfigured: ImportError filer
cmsplugin_filer_image : no module named filer
cmsplugin_filer_image
i have installed all p
yes, as Ian said, you need name attr in your input so that you can
navigate to the real string input the user gives..
On 27 Feb., 08:38, Ian Clelland wrote:
> On Sunday, February 26, 2012, Stanwin Siow wrote:
> > Ok disregard my previous question.
>
> > Here's the latest one.
>
> > I have the f
oh okay, i will try it... there are jquery ajax form submit versions
too, but it is a good idea
thanks
On 26 Feb., 15:30, bb6xt wrote:
> Hi,
> You could also pass a variable in the response's dictionary and use
> javascript to check this variable and navigate appropriately. This
> variable shoul
hey Lokesh,
good point, i didnot think about this.. thanks..
On 25 Feb., 19:30, lokesh wrote:
> hi,
>
> You should use .ajax() to submit your form.That way your page does
> not load and you need not worry about where the page is pointing.
>
> Lokesh
>
> On Feb 25,
hi there,
i have a small problem...
i am rendering a success message "Registration Done!" to the site, i
am able to do it, but after submisson, the browser goes to the
startposition, not to the place where i filled out the registration
form.. how can i go to this part of the page directly after su
-- __init__
-- settings.py
-- urls.py
-- wsgi.py
On 5 Feb., 06:02, doniyor wrote:
> can you please take a look, here is my
> settings.py.http://pastebin.com/GSUb2k2e
> thanks
>
> On 5 Feb., 05:58, doniyor wrote:
>
>
>
>
>
>
>
>
can you please take a look, here is my settings.py.
http://pastebin.com/GSUb2k2e
thanks
On 5 Feb., 05:58, doniyor wrote:
> yes, but here you see:
> For local development, if you are using runserver or adding
> staticfiles_urlpatterns to your URLconf, you’re done with the setup –
>
Roseman wrote:
> On Saturday, 4 February 2012 18:48:08 UTC, doniyor wrote:
>
> > Hi everyone,
>
> > i have a small problem which makes me worry. i have a normal html file
> > with fotos to see in. and i have created a project and started the
> > server with "m
Hi everyone,
i have a small problem which makes me worry. i have a normal html file
with fotos to see in. and i have created a project and started the
server with "manage.py runserver". this is the point! :
if i open the html file just normal from the folder by doubleclick,
the browser shows the
Hallo zusammen,
ich habe kleines problem mit pfadangabe. ich habe eine ganz normale
einfache index.html mit bilder drin. ich projekt angelegt in django
mit Aptana. Also mein problem taucht da auf wenn ich die Seite
aufmache.
1) wenn ich die index.html vom Ordner aus direkt mit doppelklick
aufmach
thanks but these links are not for overriding the app_index.html in
order to show the APP in adminsite. i know how to override a template
but dont know how to override APP_INDEX.html which is supposed to show
my app in adminsite.
thanks for help in advance..
On 20 Aug., 04:31, Nan wrote:
> > w
hi there,
i have a litle problem in bringing my app to admin. the thing is, i
dont use models, so the talk about 'setting.py' would be wasty. what i
dont understand is how to override the app_index.html and where to put
it sothat my app can be seen in admin page..
i give the code of app_index.htm
Hi There,
I am heading well now, but have still some confusing things here..
this is my html file, where i want to get a success message after the
form is submitted:
__
{% load forms %}
{% if submitted %}
can redirect to any page after the post and know that the
> message will be displayed. You could process the post and redirect
> back to the page containing the form if you want to.
>
> Regards,
> Andrew
>
> On Aug 14, 5:52 pm, doniyor wrote:
>
>
>
>
>
>
>
&
;
>
>
>
>
>
>
> On Sun, Aug 14, 2011 at 1:22 PM, doniyor wrote:
> > Hey Guys,
>
> > i need a litle help in working with forms. i have a button and i want
> > to output a success text above the button if the user presses the
> > button. how to do this ?
Hey Guys, i have here another problem..
i wrote an app, without models, the whole thing happens in views.py
and functions are coming from another file. so the thing i want is
that my app should be visible in admin site. i read about overriding
the app_index.html and put it under admin directory in
Hey Guys,
i need a litle help in working with forms. i have a button and i want
to output a success text above the button if the user presses the
button. how to do this ? is there any template tag like {% if
form.is_submitted %} or so?
main point is that i dont want to write another html file on
Hallo,
i have got small problem. i try to upload a pdf but i get this error
all the time.
The process can not access the file because it is being used by
another process: 'file location...'
my code is here:
pdf_file = self.cleaned_data.get('pdf_file')
if (pdf_file.name[-3:] == u'pdf' or pd
Hi there,
my problem is simple, i cannot redirect /wiwi/ to /s/?o=key=./
because the second request does not have a view, but i set its view in
this way:
View, args, kwargs = resolve(“/s/?o=key“)
Kwargs['request']= request
Return view(*args,**kwargs)
Why cannot i get now the view of
ok it was stupid question, i wanted to ask some other thing
On May 3, 1:09 pm, Tom Evans wrote:
> On Tue, May 3, 2011 at 10:17 AM, doniyor wrote:
> > Hey guys,
>
> > i have got a simple but sometimes confusing issue:
>
> > what is module and can i use it both in g
Hey guys,
i have got a simple but sometimes confusing issue:
what is module and can i use it both in global urls.py and in local
urls.py ? i wonder, which one is a wise way ?
thanks much,
doni
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
hey, yes, sure, i import all the necessities.
but the default handler404 seems to be called all the time. i cannot
control it somehow.
On May 2, 6:11 pm, Jason Culverhouse wrote:
> On May 1, 2011, at 8:01 AM, doniyor wrote:
>
>
>
>
>
>
>
>
>
> > Hi
1 - 100 of 102 matches
Mail list logo