Good workaround :) Adding it. Thanks
On Aug 1, 12:05 pm, lokesh wrote:
> hi,
> Use Javascript or jquery .reset() to clear the form fields .
> Lokesh S
>
> On Aug 1, 1:41 pm, Reikje wrote:
>
> > Hi,
>
> > I am using django.Forms for a website. I have a text field which is
> > not required. Every
Thomas and Lokesh,
Thanks very much for your help. I've modified the link in my HTML file to
be:
where "stylesheet" is the name of the CSS file, and this file is located
inside the directory listed under STATIC_DIRS in my settings.py file. As
mentioned in my prior email, I also already have S
Been using Komodo for over a year - it has never crashed on me (that
I've noticed anyway ;)
On Aug 1, 10:19 am, Thomas Weholt wrote:
> Hmmm ... I've had the same problem using PyCharm; it just doesn't look
> good, but after a while I stopped noticing and started loving the
> features of that IDE.
On Tue, Aug 2, 2011 at 5:19 AM, veva...@yandex.ru wrote:
> I see I don't understand how can I use static files using the
> development server. I saw several answers to this question of other
> people but they are too breaf for me. I think I follow advices but
> without any result.
> Books on Djang
hi,
Did you use the django development server to test it??
I have ever published my project on Lighttpd, but lost all the css.
I solved this problem by specified the midia and site-midia.
Like below on lighttpd.conf
"/site_media/" => "/root/web/Affair/gmadmin/media/",
"/media/"
Could you show us the following:
Your staticfiles settings.
The link where your browser fetches the css file (see rendered source head
when browsing) to gets 404'ed.
If you are using a local server, you could try using a STATIC URL of
127.0.0.1:8000/static/.
Note that this will not work if you us
A little detail, but you never know: you should put some ' ' in your link.
Like this :
If there are spaces in your path, this could cause the lookup to fail.
And even if that's not the case, don't rely on the user's browser to fix
coding mistakes.
Le 2 août 2011 10:28, "Guillaume Chorn" a écr
I am using
https://docs.djangoproject.com/en/dev/ref/contrib/syndication/#a-complex-examplefor
my project.
Since the feed is essentially presented in XML to user, I have no way to
track the access with Google Analytics.
But I am thinking to register that access by sending Django request object
to
Last thing, I made a typo, the address you could use should start with http,
like: http://127.0.0.1/static/
Le 2 août 2011 12:01, "Thomas Orozco" a écrit :
> A little detail, but you never know: you should put some ' ' in your link.
> Like this :
>
>
>
>
> If there are spaces in your path, this c
Hey guys,
I'm creating a site where multiple users will enter their details and
get access to admin I want to create from them .I want to use default
Django admin as a kind of Super User access for myself. I don't want
these users to have access to Super User admin.
I want them to have their own
Hi
I have two models namely Test and UserTest with one to many
relationship.In TestAdmin i have tabular inline for UserTest.
I can add or delete test but can't modify test's fields but in same
object i can add UserTest model but can't modify previously added
UserTest.
So i kept it as readonl
Hi all,
I'm so sorry for this e-mail. May be you answered similar questions
many times. But I really need your help to learn how it's works.
There is a little problem with third-level(?) models (or many times
related models) in admin area with django-smart-selects plugin. I
don't know what does m
Hi every body!
I want to get backup from my db with os.system command. but it's not work
for me. \
this is the code that I'm using:
* os.system("mysqldump --user root password=123 test_db > d:/test.sql")
*
any body know about this issue?
--
You received this message because you are subscribed
Any help pls?
2011/8/2 Dr.Linux
> Hi all,
>
> I'm so sorry for this e-mail. May be you answered similar questions
> many times. But I really need your help to learn how it's works.
>
> There is a little problem with third-level(?) models (or many times
> related models) in admin area with django
You should use mysqldump command like that:
target_dir = '/path/to/where/you/want/to/dump'
os.system("mysqldump --add-drop-table -c -u user -ppassword database
table > "+target_dir+"/table.bak.sql")
Hope this help!
2011/8/2 dR Hossein
> Hi every body!
> I want to get backup from my db with os
On Jul 28, 4:27 pm, Derek wrote:
> On Jul 28, 10:31 am,Shegoroa wrote:
>
> > I am having difficulty figuring out how to make an admin when creating
> > a new user to have an extra field specifying users location.
>
> > I found lots of information on how to extend the user profile and i
> > did so
please see this discussion
http://groups.google.com/group/django-users/browse_thread/thread/143942b9002c1468/c4fbf04d75471fbf?lnk=gst&q=Shegoroa#c4fbf04d75471fbf
I made two by accident and marked this for removing, but they didn't
for some reason.
I updated it with a new post, which should show up
In admin.py file i paste:admin.site.disable_action('delete_selected')
And get an error:
KeyError at /
'delete_selected'
Django Version: 1.3 Exception Type: KeyError Exception Value:
'delete_selected'
Exception Location:
c:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\a
> That would hide the field called 'itemid' from the model 'News'. Are
> you saying it doesn't?
That's right. It's not working. The field isn't hidden.
-Ryan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email t
On Tue, Aug 2, 2011 at 2:37 PM, webcomm wrote:
>> That would hide the field called 'itemid' from the model 'News'. Are
>> you saying it doesn't?
>
> That's right. It's not working. The field isn't hidden.
>
Have you simplified your example? This functionality works well when
used correctly:
>>
Try this way which works well.
create folder static_media in project.
In urls.py give below url
(r'^static_media/(?P.*)','django.views.static.serve',
{'document_root':'static_media'}),
in settings give,
MEDIA_URL = '/static_media/'
it should work.
On Aug 1, 6:17 am, Gchorn wrote:
> Hello All,
>
I would like to know how to make changes to the built in style sheets
in the admin pages
I went into this directory where i found images being used in the
admin website
Django-1.3\django\contrib\admin\media\img\admin
and changed images
but it didn't effect my project at all. Is that the wrong plac
While testing changes to an existing project, I disabled debugging. While
trying to restart the web server (uWSGI+nginix), I encountered the following
error:
File "/opt/django-projects/preps/statistics/models.py", line 5, in
from preps.games.models import FootballGame, VolleyballGame,
GirlsBa
hi,
I am new to the Django list but I am a django fan (we dev with Django
for www.booki.cc)... anyways I wanted to encourage the Doc team and
individuals on the list to apply for the GSoC Documentation Summit
(details below):
https://sites.google.com/site/docsprintsummit/
You can apply as an indi
We're using Gentoo 64-bit on all of our production webservers at work,
and I run 4 additional Gentoo-based Django servers outside of work.
It took a long time to configure, and is not for the faint of heart.
But, my stripped-down versions of Apache and Postgres run really fast
with a small memory
> Have you simplified your example?
The example I provided in the original post is the actual code in my
models.py. It's not simplified.
> >>> class TestForm(ModelForm):
>
> ... range = CharField(widget=HiddenInput)
> ... class Meta:
> ... model=Foo
> ...>>> f=TestForm()
> >>> f.as_p()
>
Hello there.
I need to use parts of the URL to calculate some thing inside my form.
Here's a stripped down version, I can't seem to get it to give me
anything other than none for self.request :-(
class EventBookForm(ModelForm):
title = CharField()
firstname = CharField()
Hi all,
How to add a field to a form that is not a model field?
I want my form for model class X to have a field whose value I will
save to another model class (by overriding the the save method in
model class X).
I think my answer is here...
http://www.hindsightlabs.com/blog/2010/02/11/adding-
Just add the fields to your ModelForm and then do whatever you want in
your save() override.
The example you found has extra code the author added to the model, but
there's nothing "standard" there. It's just something that suited that
use-case.
Remember that all of Django is "just" Python,
Hello,
I received a traceback from Django and I'm unable to figure out where the
error comes from.
The form is a basic picture upload form, I've read that this kind of errors
do happen when the connection is broken before all data was sent, but here,
the crash occured in csrf.py, which it was not
Good Day to all
i been trying to install geodjango but always gets stuck up with this
error after i downloaded postGIS and typed ./configure on the
terminal.
configure: error: could not find xml2-config from libxml2 within the
current path. You may need to try re-running configure with a --with-
x
Hi all, I have a django app that works correctly from the console, but
if I try to pass the tests cases from Eclipse+PyDev I got the
following exception:
Traceback (most recent call last):
File "C:\Users\gfuentes\workspace\AG\src\cfx\manage.py", line 19, in
execute_manager(settings)
File
Hi.
I want to display images for news. Images class is a seperate model.
In generic view (index) to display news and images I use 2 "for" loops which
work.
In "single" view I use get_object_or_404 which changes a bit the template -
it does not require the loops to display the text.
If I unders
The problem isn't in the code you've posted, but in how you instantiate the
form in your view. You need to actually pass in 'request' as a keyword
argument.
--
DR.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on t
On Tue, Aug 2, 2011 at 3:47 PM, webcomm wrote:
>> Have you simplified your example?
>
> The example I provided in the original post is the actual code in my
> models.py. It's not simplified.
>
>> >>> class TestForm(ModelForm):
>>
>> ... range = CharField(widget=HiddenInput)
>> ... class Meta:
Hello, your problem is most probably the lack of the development package for
libxml2, try installing the libxml2-dev package via apt-get command or
synaptic under Ubuntu.
Regards,
Carlos Ruvalcaba
El 02/08/2011 15:39, "theseventhletter" escribió:
> Good Day to all
> i been trying to install geodj
Tom,
I added
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
and
if settings.DEBUG:
urlpatterns += staticfiles_urlpatterns()
to urlconf, but didn't get any result.
Vladimir
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
On Aug 2, 11:16 am, Shawn Milochik wrote:
> Just add the fields to your ModelForm and then do whatever you want in
> your save() override.
Thanks for your reply, Shawn. Adding the fields in my ModelForm
doesn't seem to do the trick, by itself. The field doesn't appear in
the form unless I also
On Tue, Aug 2, 2011 at 3:17 PM, George Cummins wrote:
> While testing changes to an existing project, I disabled debugging. While
> trying to restart the web server (uWSGI+nginix), I encountered the following
> error:
>
> File "/opt/django-projects/preps/statistics/models.py", line 5, in
>
>
You don't need to add the fields to your model. If the extra fields
don't appear on your page it's probably because you didn't add them to
the template.
I'm assuming you're using something like form.as_p, which probably
doesn't pick up the extra fields.
--
You received this message because y
On Tue, Aug 2, 2011 at 12:38 PM, Tom Evans wrote:
> On Tue, Aug 2, 2011 at 3:17 PM, George Cummins wrote:
> > While testing changes to an existing project, I disabled debugging. While
> > trying to restart the web server (uWSGI+nginix), I encountered the
> following
> > error:
> >
> > File "/opt
I am a designer guy not a programmer. My coding skills are html, css
and some jquery tweaks to suit my needs, but i come to a point where i
think i need to learn a real language. What i'm doing now is working
with Textpattern or Wordpress(but i dont really like it) when i need
some dynamic web site
Well...
$ /home/wsgi/pypy-1.5/bin/pypy
Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34)
[PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``yes, but what't the sense of 0
<
"duran duran
I'm having this problem, my web design knowledge is limited and I'm
having a hard time searching for the solution (if there is one)
The problem is this:
I have a view that counts the number of lines in a file. It then
pushes that result to an html page. What I want it to do is when that
line coun
See if there is a .pth file somehow made pypy specific in
/home/wsgi/pypy-1.5/site-packages or /home/wsgi/pypy-1.5 that mentions
the PIL package but nothing else.
On Tue, Aug 2, 2011 at 1:19 PM, Dmitry Pisklov wrote:
> Well...
>
> $ /home/wsgi/pypy-1.5/bin/pypy
> Python 2.7.1 (b590cf6de419, Apr 3
Right now I have a Decimal field in my model but I'd like it to
display as scientific notation on the admin pages.
Do I need to make a custom model field, that uses a custom form field
or is there an easier way?
(I'm on Django 1.2 if it matters)
--
You received this message because you are subs
Thanks Daniel
I told you I was doing something stupid :-)
V
On Aug 2, 5:22 pm, Daniel Roseman wrote:
> The problem isn't in the code you've posted, but in how you instantiate the
> form in your view. You need to actually pass in 'request' as a keyword
> argument.
> --
> DR.
--
You received
On 2 août, 19:22, lmcadory wrote:
> I'm having this problem, my web design knowledge is limited and I'm
> having a hard time searching for the solution (if there is one)
>
> The problem is this:
>
> I have a view that counts the number of lines in a file. It then
> pushes that result to an html pa
Go for it. It will require you to learn to program, but if you're up for
it then that's awesome.
If you do the tutorial and read the following wiki page I'm sure you'll
find plenty of helpful people on this list.
https://code.djangoproject.com/wiki/UsingTheMailingList
Shawn
--
You received
Difficult to say really.
If your main focus is to be a designer, and not to be a full on programmer,
then I'd say you are probably best sticking with wordpress.
If you don't really have a main focus, or you have some spare time, then
defo take some time to learn python+django. I would strongly ad
On Tue, Aug 2, 2011 at 6:44 PM, Cal Leeming [Simplicity Media Ltd] <
cal.leem...@simplicitymedialtd.co.uk> wrote:
> Difficult to say really.
>
> If your main focus is to be a designer, and not to be a full on programmer,
> then I'd say you are probably best sticking with wordpress.
>
> If you don'
Hi there,
For building dynamic websites, I'd say you should learn a language
like PHP or Python. Yep. For working with Django you definitely need
to know Python.
Something like WordPress has a very different and narrower set of
intentions behind its design than does Django. WordPress is really
On 2 août, 18:21, "biofob...@gmail.com" wrote:
> I am a designer guy not a programmer. My coding skills are html, css
> and some jquery tweaks to suit my needs, but i come to a point where i
> think i need to learn a real language. What i'm doing now is working
> with Textpattern or Wordpress(but
Here is my code, minus all the import statements.
file = 'someFile.txt'
infile = open(file, 'r')
def test_results(request):
expectedResults = 10
lines = infile.readlines()
lineCount = len(lines)
if lineCount == expectedResults:
p = 'Passed'
return r
Display the results.
On Aug 2, 1:37 pm, bruno desthuilliers
wrote:
> On 2 août, 19:22, lmcadory wrote:
>
> > I'm having this problem, my web design knowledge is limited and I'm
> > having a hard time searching for the solution (if there is one)
>
> > The problem is this:
>
> > I have a view that
First rename your "image_fk" field in Image to "news" - it's a
relation from an image to a news, not from an image to another image,
and the "_fk" prefix is irrelevant.
Then, from a News instance, you'll be ables to access the related
images using younews.image_set.all in the templates, ie:
{% f
There should be closing brackets on the ends of the 2
render_to_response statements.
On Aug 2, 1:55 pm, lmcadory wrote:
> Here is my code, minus all the import statements.
>
> file = 'someFile.txt'
> infile = open(file, 'r')
>
> def test_results(request):
> expectedResults = 10
> line
can anyone help with this?
thx.
--
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/-/oB-B4Y8NHVQJ.
To post to this group, send email to django-users@googlegroup
Thank all of you for your responses. I ran checkdsk, ensured no
remnants of the original install were around, reinstalled django now
it all works.
--
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@
I ran checkdsk, ensured no remnants of the original install were
around, reinstalled django now it all works.
--
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
I am trying to get more comfortable with interactive programming in
the shell... which I have always found a bit awkward and have mostly
avoided in favor of working in files (even for small experiments.)
I'm trying to do something pretty simple:
from django.db import models
class News(models.Mode
Not to hijack the thread but as an additional question...
Is anyone having success with CentOS?
Thanks for letting me interject. :-)
On Aug 2, 2011, at 8:43 AM, Steven Smith wrote:
> We're using Gentoo 64-bit on all of our production webservers at work,
> and I run 4 additional Gentoo-based D
Hello all,
I have a dynamic form as follows:
class myForm(forms.Form):
Question = forms.ModelMultipleChoiceField(queryset=Model.objects.none(),
widget=forms.RadioSelect())
def __init__(self, request, *args, **kwargs):
super(myForm, self).__init__(*args, **kwargs)
self.fie
On 08/02/2011 01:59 PM, highpointe wrote:
Not to hijack the thread but as an additional question...
Is anyone having success with CentOS?
Thanks for letting me interject. :-)
Our production server is on Cent OS and has been up for 742 days without
a reboot. For whatever that's worth.
--
Y
Have you considered using feedburner? Google acquired them a few years ago. I
think there is integration with Analytics.
--
Eric Chamberlain, Founder
RingFree Mobility Inc.
On Aug 2, 2011, at 3:04 AM, Dealshelve Team wrote:
> I am using
> https://docs.djangoproject.com/en/dev/ref/cont
I'm also getting "list index out of range" quite often. Here is a
shell session showing the error in context: http://pastebin.com/FBE30SDK
--
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@google
On Tuesday, 2 August 2011 20:14:09 UTC+1, webcomm wrote:
>
> I'm also getting "list index out of range" quite often. Here is a
> shell session showing the error in context: http://pastebin.com/FBE30SDK
I don't know about the 'has no attribute Model', since you don't show the
traceback for tha
On Tuesday, 2 August 2011 19:15:12 UTC+1, voss wrote:
>
> Hello all,
>
> I have a dynamic form as follows:
>
> class myForm(forms.Form):
> Question =
> forms.ModelMultipleChoiceField(queryset=Model.objects.none(),
> widget=forms.RadioSelect())
> def __init__(self, request, *args, **kwargs
I fixed it. I needed to remove --noreload
--
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/-/9bDXiW-7insJ.
To post to this group, send email to django-users@go
On Aug 2, 12:40 pm, Shawn Milochik wrote:
> You don't need to add the fields to your model. If the extra fields
> don't appear on your page it's probably because you didn't add them to
> the template.
I have no template for the form. I'm using the automatic admin.
--
You received this message
I have no template for the form. I'm using the automatic admin.
Then that's a whole different issue.
https://docs.djangoproject.com/en/1.3/ref/contrib/admin/
Check this out, and read up on how to specify your own form.
--
You received this message because you are subscribed to the Google
I've thrown up the django-pdb package on PyPI - hopefully some of y'all will
find it a useful little tool.
PyPI: http://pypi.python.org/pypi/django-pdb/0.1.1
GitHub: https://github.com/tomchristie/django-pdb
Suggestions and contributions are of course very welcome.
Here's the basic README...
> You still haven't shown that it doesn't hide the field, eg by posting
> the output of frm.as_p(), where as I have shown conclusively that it
> does, so I think something else is going on here. Are you sure the
> field 'itemid' exists on your model?
Thanks Tom. The field itemid does exist in the
On Aug 2, 3:38 pm, Daniel Roseman wrote:
> by declaring that metadata explicitly:
>
> 1. In [2]: class MyTest(models.Model):
> 2. ...: title=models.CharField(max_length=200)
> 3. ...: class Meta:
> ...: app_label = 'my_test'
>
Actually, that seems to have fixe
Hi all,
I'd like to pick your brainz about how would you approach constructing
and rendering a complex table with headers, row/colspanning cells in a
most clean way that rids the view of rendering as much as possible.
Here's roughly what I'm after (incomplete, but you should see what I
mean):
htt
On Aug 2, 3:14 pm, webcomm wrote:
> ...
> Non-interactively, in the automatic admin, what I get is a visible
> text input below the title field and above the summary field. Here's
> the relevant model and modelform:http://pastebin.com/azKgdraw
>
> -Ryan
Oh...you are trying to do this in the *adm
I'm not sure that reference is going to answer my question but, in any
case, there appears to be lots of good stuff in there. My old deskjet
will hate me for printing that page out, but I better try.
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
Thank you all for the advices/sugestions.
For what i read most of you advice on PHP + framework and i can
understand that. I looked at django and rails as a option for me to
have. My PHP knowledge is very limited, and sometimes i need some
functionality on a wordpress site or on a textpattern one b
I think you should open, count the lines of and close the file inside
the view. The view code is executed once per request. I think that
somethink like this will solve your problems:
def test_results(request):
infile = open('someFile.txt', 'r')
# ... count the lines of the file
infile.
I'm running django 1.3. If I access HttpRequest.META['SERVER_PORT'],
I get back a string (i.e. "80"). I was expecting an integer. Is this
a bug (in which case I'll open a ticket to fix it) or it it
intentional that it's returning a string (in which case I'll open a
ticket to document it better).
On Aug 2, 4:56 pm, Brian Neal wrote:
> Oh...you are trying to do this in the *admin*? Are you sure you just
> don't need to "exclude" the form field?
Yep, that's what I needed. I already had an admin class for the
model, so it was just a matter of adding the line to exclude the
field.
For some
On Aug 2, 4:57 pm, "biofob...@gmail.com" wrote:
> Thank you all for the advices/sugestions.
> For what i read most of you advice on PHP + framework and i can
> understand that. I looked at django and rails as a option for me to
> have. My PHP knowledge is very limited, and sometimes i need some
>
On 2 août, 21:43, lmcadory wrote:
> I fixed it. I needed to remove --noreload
This doesn't fix anything - try to run it using anything but the test
server and you'll have the same problem (or even worse in a multi-
threading or multi-process environment).
You actually have to move the first two
http://www.quackit.com/javascript/javascript_refresh_page.cfm
2011/8/2 lmcadory
> I'm having this problem, my web design knowledge is limited and I'm
> having a hard time searching for the solution (if there is one)
>
> The problem is this:
>
> I have a view that counts the number of lines in a
Ok thanks for the clarifications :
I guess i'll go to PHP for now and when i have more prog. experience i'll
try python and django to be able to build my own stuff from scratch.
Now i only need to find where to start in PHP :)
Thanks all for your time.
2011/8/2 webcomm
> On Aug 2, 4:57 pm, "bio
On Tue, Aug 2, 2011 at 11:53 AM, somecallitblues wrote:
> Hey guys,
>
> I'm creating a site where multiple users will enter their details and
> get access to admin I want to create from them .I want to use default
> Django admin as a kind of Super User access for myself. I don't want
> these users
Hi, Djangoers,
I am trying to write a page rank banner. *I need your help on how to get the
request UR*L. I want the function looks like this. If I put the following
html snippet in a URL, for example,
http://www.homesecurity361.com/index.html, I want the following code to show
the page rank of t
On Tue, Aug 2, 2011 at 6:43 PM, eset wrote:
> hi,
>
> I am new to the Django list but I am a django fan (we dev with Django
> for www.booki.cc)... anyways I wanted to encourage the Doc team and
> individuals on the list to apply for the GSoC Documentation Summit
> (details below):
> https://sites.
Basically everything (ok, almost) in request.META is strings, so I guess it
would be pretty consistent if for some reason server port wasn't.
It's usually your job to normalize data that comes into your application
anyways.
Le 2 août 2011 23:04, "Roy Smith" a écrit :
> I'm running django 1.3. If
Hi i dont see what is complex about this.
On Wed, Aug 3, 2011 at 6:35 AM, Michał Sawicz wrote:
> Hi all,
>
> I'd like to pick your brainz about how would you approach constructing
> and rendering a complex table with headers, row/colspanning cells in a
> most clean way that rids the view of rende
thank you sir, that did the trick..
On Aug 3, 12:24 am, Carlos Daniel Ruvalcaba Valenzuela
wrote:
> Hello, your problem is most probably the lack of the development package for
> libxml2, try installing the libxml2-dev package via apt-get command or
> synaptic under Ubuntu.
>
> Regards,
> Carlos
That's nice.
I've figured out how to enable this and django-devserver (since they both
override 'runserver', they clash).
You can just install the middleware (dependent upon settings.DEBUG,
naturally).
Documentation patch forthcoming.
Matt.
--
You received this message because you are subsc
Ok, so I've created a fairly simple form:
class OrganizationItemForm(AuditModelForm):
selected = forms.BooleanField()
extraRequired = forms.BooleanField(widget=forms.HiddenInput)
multiLineInfo = forms.BooleanField(widget=forms.HiddenInput)
def __init__(self, *args, **k
Thank you, DR. But I tried that before and it did not work for some
reason. It basically skips "if Answer.is_valid():" and goes to "else".
voss
You've defined your form to expect a `request` argument, but then you
haven't passed that argument.
answer = MyForm(request, request.GET or
Ok, so I did use quotes in my link, and I changed my STATIC_URL setting (in
settings.py) from '/static/' to 'http://127.0.0.1:8000/static/' (I am
currently using the built-in development server at this address), but still
no luck.
I'm not sure exactly what you mean by my "staticfiles settings." (
Hi djangonauts,
what is your perfect setup of serving pyjamas static html, js, css
files and django as magic service over the web?
I really don't get it with best apache (or whatever) configuration. I
have eg. /services/ but how do *you* setup your url
redirection?
thx for all input.
Frank
--
Why there is not a default user login, user register template?
And Can not find some examples.
What is your advice to create user auth pages?
--
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@goog
Why there is not a default user login, user register template?
And Can not find some examples.
What is your advice to create user auth pages?
--
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@goog
98 matches
Mail list logo