I'm well into beginning building my actual app after going through the tutorial,
but I have no feel yet for the answer to this question.
Can apps share a set of models? My application neatly divides into three pieces,
but all the pieces share the same data. Should these be 3 apps or 1? Can apps
I'm straying a bit off-topic here, but I forgot to mention that other
way I've seen people do 'enum' in Python is:
>>> class Colors(object):
... RED, GREEN, BLUE = range(3)
...
>>> c = Colors()
>>> c.RED
0
>>> c.BLUE
2
>>> c.GREEN
1
Not sure this helps much in this particular case though.
--
I would probably do it Bruno's way, since it is more explicit, but
just so you know, there are some enumeration tools in Python. Just not
an 'enum' type:
>>> base_choices = ['No', 'Yes'] <-- transform this any way you want:
>>> choices = list(enumerate(base_choices))
>>> choices
[(0, 'No'), (1, '
thanks, to all.
I have now some code to study and understand.
Nenad
--
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/-/WZCA-XCSg_IJ.
To post to this group, sen
https://github.com/daevaorn/turbion/blob/master/turbion/bits/utils/enum.py
--
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-
On Feb 1, 10:45 pm, NENAD CIKIC wrote:
> Hello, the subject expresses my discomfort with certain python
> characteristics, given my background, and my lack of python knowledge.
> Specifically lets say that I have a model with a Text field and char field.
> The char field is length 1 and says "use
On 2/02/2012 12:13pm, Nikolas Stevenson-Molnar wrote:
TO_USE= (
('Y', 'Yes'),
('N', 'No'),
)
class X(models.Model):
txt= models.CharField(db_index=True,null=True,
blank=True,max_length=30)
use_txt=
models.CharField(blank=False,max_length=1,default='D',choices=TO_USE)
an
A different way would be to define constants:
YES = 'Y'
NO = 'N'
TO_USE= (
(YES, 'Yes'),
(NO, 'No'),
)
---
from myapp.models import YES
class XForm(forms.ModelForm):
def clean(self):
cleaned_data=super(XForm, self).clean()
txt= cleaned_data['txt'].strip()
*slightly* better would be:
class X(models.Model):
YES='Y'
NO='N'
DEFAULT='D'
TO_USE = ((X.YES, "Yes"), (X.NO, "No"), (X.DEFAULT, "Default"))
txt= models.CharField(db_index=True,null=True, blank=True,max_length=30)
use_txt= models.CharField(blank=False,max_length=1,default
You could use a class, such as:
class TO_USE:
Y = 'Yes'
N = 'No'
if char == TO_USE.Y:
pass
_Nik
On 2/1/2012 1:45 PM, NENAD CIKIC wrote:
Hello, the subject expresses my discomfort with certain python
characteristics, given my background, and my lack of python knowledge.
Specificall
Hello, the subject expresses my discomfort with certain python
characteristics, given my background, and my lack of python knowledge.
Specifically lets say that I have a model with a Text field and char field.
The char field is length 1 and says "use or do not use the text field". The
char field
Hi all, I want to start learning django, but the tutorial seems so
difficult for me! :(
" django-admin.py startproject mysite " this line of code is not
working. Could you please tell me what's wrong with it? or what should
I do to set up a new project?
Thank you.
--
You received this message be
On Thu, Dec 15, 2011 at 8:27 PM, J. Marc Edwards
wrote:
> OK...I have the following model and form.
>
> class CmdString(models.Model):
>
> name = models.CharField(max_length=50)
> cmd = models.CharField(max_length=200)
> eda_app = models.OneToOneField(EDA_App, primary_key=True)
OK...I have the following model and form.
*class CmdString(models.Model):
name= models.CharField(max_length=50)
cmd = models.CharField(max_length=200)
eda_app = models.OneToOneField(EDA_App, primary_key=True)
def __unicode__(self):
return self.cmd *
*cl
Many thanks Jacob!
On Dec 13, 8:57 pm, Jacob Kaplan-Moss wrote:
> On Tue, Dec 13, 2011 at 7:22 PM, Mike wrote:
> > will I still be able to use Django's ORM?
>
> Yes, please
> seehttps://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.mo...
> and in particular DO_NOTHING.
>
> Jacob
-
On Tue, Dec 13, 2011 at 7:22 PM, Mike wrote:
> will I still be able to use Django's ORM?
Yes, please see
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.on_delete
and in particular DO_NOTHING.
Jacob
--
You received this message because you are subscribed to
will I still be able to use Django's ORM?
TIA
--
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...@googlegrou
I have been working on a simple project. I use Django app server and
use it like:
##
C:\search\pysolr\webinterface>python manage.py runserver 8081
Validating models...
0 errors found
Django version 1.0.2 final, using settings 'webinterface.settings'
Development server
Marc,
There is a couple of ways to do this on top of the Django ORM. You probably
want to use a many-to-many relationship with an extra index field.
https://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships
class SingularWorkFlow(models.Model):
On Tue, Nov 29, 2011 at 3:44 PM, Marc Edwards wrote:
> I need some help in resetting my thinking on creating my Django data
> model.
>
> I have previously created an XML schema definition for my data model,
> but am now trying to re-create this XML data model in a Django data
> model.
>
> In my XM
I need some help in resetting my thinking on creating my Django data
model.
I have previously created an XML schema definition for my data model,
but am now trying to re-create this XML data model in a Django data
model.
In my XML schema, I had defined "collections" of XML complex types
that esse
Apache pig is a scripting tool to analyze data in hadoop clusters
Sent from Yahoo! Mail on Android
--
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 gro
; django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>
--
View this message in context:
http://old.nabble.com/NEWBIE%3A-using-django-without-a-model.-tp32725297p32725475.html
Sent from
In my opinion as a starter too, I don't think you need a model if you are
not using a database.
Others could have their opinions.
On 26 Oct 2011 16:37, "damola oyeniyi" wrote:
> Hi,
>
> I am trying to create a simple query page using django and pig!. I would
> not be needing a database, so I'm n
Hi,
I am trying to create a simple query page using django and pig!. I would not be
needing a database, so I'm not sure if a model is involved. My pig script will
crunch multiple files containing lots of lines with data of the same format. I
want to try and display results from that query in a
; >> >> > Someone else reported that he was able to solve the problem by
>> >> >> > using
>> >> >> > a
>> >> >> > user name without special characters.
>>
>> >> >> > This might be difficult
ment
> >> >> > version however:
> >> >> > 1. Go to the inbuilt django shell and enter these commands:
> >> >> > from django.contrib.sites.models import Site
> >> >> > From django.conf import settings
> >> >>
Karen, Thank you very much. I will try to get another extractor and
see if that fixes the problem. Ed Porter
On Sep 12, 9:37 pm, Karen Tracey wrote:
> I suspect the problem is using WinZip to try to unzip the tarball. Other
> users on this list have reported the same issue in the past. It seems
I suspect the problem is using WinZip to try to unzip the tarball. Other
users on this list have reported the same issue in the past. It seems that
at least some versions of WinZip fail to extract 0-byte files from the
archive file. This is a major problem for any type of Python source project
sinc
I get the below error msg when I try to install Django 1.3.1 on a
windows7 64bit machine.
Django-1.3.1/Django-1.3.1/docs/topics/install.txt says
Installing an official release
~~
1. Download the latest release from our `download page`_.
2. Untar the download
go.conf import settings
>> >> > x = settings.SITE_ID
>> >> > Site.objects.get(pk=x)
>>
>> >> > You should get the same "site matching query does not exist" error.
>> >> > Now print x and then check the django_site_table in your
then check the django_site_table in your database. x
> >> > should be the same as the primary key of what you have in the table.
> >> > If it isn't, drop the table and syncdb again.
>
> >> > On 9/10/11, nara wrote:
>
> >> > > yes, admin i
t x and then check the django_site_table in your database. x
>> > should be the same as the primary key of what you have in the table.
>> > If it isn't, drop the table and syncdb again.
>>
>> > On 9/10/11, nara wrote:
>>
>> > > yes, admin is in
ff all admin. admin is not strictly necessary, it is just a nicety.
>
> > > One strange thing though: I have had to set PYTHONPATH and
> > > explicitly set it to ~/mblog:~/mblog/apps:~/mblog/apps/myblog,
> > > even though __init__.py files exist at all levels! Could
>
/mblog/apps/myblog,
> > even though __init__.py files exist at all levels! Could
> > something as basic as Python module search be broken?
> > I am using latest Python 2.7 on Ubuntu 11.04
>
> > Thanks
> > Nara
>
> > On Sep 9, 5:35 pm, Casey Greene wrote:
&g
//docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTA...
>>
>> Casey
>>
>> On 09/09/2011 07:04 PM, nara wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Hi,
>>
>> > I am a newbie, and I am trying a very basic blog
>
> Casey
>
> On 09/09/2011 07:04 PM, nara wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I am a newbie, and I am trying a very basic blog site to get familiar
> > with the latest development release. I followed the directions in the
> > tutorial (part 2)
Is admin in INSTALLED_APPS?
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS
Casey
On 09/09/2011 07:04 PM, nara wrote:
Hi,
I am a newbie, and I am trying a very basic blog site to get familiar
with the latest development release. I followed the directions in the
Hi,
I am a newbie, and I am trying a very basic blog site to get familiar
with the latest development release. I followed the directions in the
tutorial (part 2) to try and get the automatic admin going. However,
here is what I get on the url localhost:8000/admin/
DoesNotExist at /admin/
Site
In [1]: x = '1234'
In [2]: x.isdigit()
Out[2]: True
--
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...@goog
Hi all,
I have a model snippet that I wanna use to store phonenumbers:
e_mail = models.EmailField()
phone = models.CharField(max_length=15)
Mobile numbers in my country are 11digit numbers e.g 080,
Fixed Lines: (2 digit),7 digit e.g (01)755
I wanna try and validate this field on
On Jul 24, 12:40 am, Javier Guerra Giraldez
wrote:
> On Sat, Jul 23, 2011 at 3:03 PM, bruno desthuilliers
>
> wrote:
> > I don't understand what you mean by "serverside apps" here - I mean,
> > Django IS for serverside applications, not client side (which would
> > require javascript).
>
> There
On Sun, 2011-07-24 at 04:25 -0700, Dmitry Pisklov wrote:
> PS I am a Java developer, and more then year ago started looking into
> python, wrote few small components for work and now trying to leverage
> django for my web-project. I doubt I could do something so fast if I
> haven't known python at
On 24/07/11 16:22, fred.se...@sunrise.com wrote:
The only area where I've really struggled is in building a SOAP api to
conform to some vendor requirement. It's hard to figure out which python
soap module is the right one (i.e. maintained and documented) while Java
seems to have better tools. But
After many years of developing desktop applications in Python, I had to
learn Java and all the web development concepts required in a Java/Tomcat
world. After years of Java web development my company has finally come to
recognize that ANY development in Python is significantly easier than almos
On Jul 23, 8:19 am, Riefers wrote:
> I've spent the 10+ years developing serverside apps in java. I've
> never done any web page developement. Someone recommended Django. Any
> suggestions on where to start?
I learned Python and Django at the same time. A lot of people have
changed their recomme
Not exactly true. Both java and Python are *strongly* typed. However, Java
has static typing, and python has dynamic duck-typing system. That means,
type of your object is detected in run-time, but it cannot be changed,
contrary to weakly typed languages like PHP, where you can treat string as
I went from JAVA to python and am now learning django.
Going from JAVA to python is not a big deal.
Most of the concepts are the same, the biggest difference
being that JAVA is strongly typed and python is weakly typed.
This just means a python object can be any type, it doesn't have to
be declare
On Sat, Jul 23, 2011 at 3:03 PM, bruno desthuilliers
wrote:
> I don't understand what you mean by "serverside apps" here - I mean,
> Django IS for serverside applications, not client side (which would
> require javascript).
There are other kinds of servers and clients besides web, you know.
Also
On 23 juil, 15:19, Riefers wrote:
> I've spent the 10+ years developing serverside apps in java. I've
> never done any web page developement. Someone recommended Django. Any
> suggestions on where to start? Is Django too advanced for me if I've
> never done web side developement?
I don't understa
Hi guys
I'm agree with those guys, no further python knowledge it is required to
start with django, but maybe in the future will be necesary to increase your
django skills.
good luck and enjoy django.
On Sat, Jul 23, 2011 at 11:04 AM, Furqan Rauf wrote:
> One thing for sure you need to know so
One thing for sure you need to know some HTML + CSS as well I remember when
I started Django I had my application but the UI sucked bad so put the combo
on ur check list :D
On Sat, Jul 23, 2011 at 8:52 AM, jocke khazad wrote:
> HI,
>
> To have some knowlege of python is of course helpful but I t
HI,
To have some knowlege of python is of course helpful but I think you can
learn to write django applications quite fast starting with Djangos own
tutorial since you have programming knowlege form another language.
https://docs.djangoproject.com/en/dev/intro/tutorial01/
Good luck!
On Sat, Jul
Some python knowledge is helpful, if not required.
Since you should know general programming architectures from java, I
recommend "Dive into Python" to learn python.
http://diveintopython.org/
2011/7/23 Riefers
> I've spent the 10+ years developing serverside apps in java. I've
> never done
I've spent the 10+ years developing serverside apps in java. I've
never done any web page developement. Someone recommended Django. Any
suggestions on where to start? Is Django too advanced for me if I've
never done web side developement?
--
You received this message because you are subscribed to
Thanks guys, I'll try this and get back to you!
Rishi
--
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/-/Hu2mFOFBWckJ.
To post to this group, send email to d
Ah, yes.
You may be right. It may be a simple problem with a simple answer. Maybe I
just over complicated things with too much words and explanation.
Eiji
On Fri, Jun 24, 2011 at 6:11 PM, Nan wrote:
>
> The sporadicness may have to do with the way it's being served -- that
> happens to me when
The sporadicness may have to do with the way it's being served -- that
happens to me when running via FCGI if I save a change but don't
restart the process. Depending on your server setup, that may mean
touching the WSGI file or touching another special file or restarting
your Apache process or s
Hi Rishi,
STATIC_ROOT, STATIC_URL, etc. are somewhat new additions to Django. I have
troubles with the documentation myself because the new ones describing them
are in English :). But I think everything that they considered static -
javascript, css, img, and other media were to be inside a directo
Thanks for trying to help me out, Eiji.
I tried adding the Alias in the apache configuration file and changing
settings.py, but to no avail. I still get the same error. What happens,
specifically, is that when I go to the django project page, everything seems
to work, I get the same light blue l
Hello,
I'm not exactly sure about your other problems, but the problem with not
getting any styles seem to me like you didn't set your ADMIN_MEDIA_PREFIX
correctly in your settings file and/or your web server configuration file.
You must let it know how to access all the javascript, css and image
Hi everyone,
I've just started using Django, and everything has been smooth sailing
up until this part. I added 'django.contrib.admin' in settings.py for
installed apps, and changed urls.py to allow for the admin page to
work. However, the admin page works erratically. That is, at some
points no ma
On Thu, 2011-06-16 at 11:26 -0700, Dan Stromberg wrote:
> 1. How does syncdb decide what to write to the sqlite file, and what
> not
>to? Does it only write info for a given application once?
yes - unless the model is removed - when it asks you
>2. If I set up a model, syncdb it, change t
On 06/16/2011 02:26 PM, Dan Stromberg wrote:
1. How does syncdb decide what to write to the sqlite file, and
what not to? Does it only write info for a given application once?
2. If I set up a model, syncdb it, change the model, and syncdb
again - will any changes be seen in
I'm developing my first django application, but I have a lot of Python
experience.
I have a couple of related questions about database/model information and
manage.py syncdb, in combination with sqlite3:
1. How does syncdb decide what to write to the sqlite file, and what not
to? Does it o
Ok I actually just figured it out. My issue was that I was calling the
function instead of the actual instance of the form. I got confused
because the variables were named almost identically.
On May 24, 8:27 pm, Alexandra wrote:
> Hi All,
>
> I am somewhat new to Django, although I have been prog
Hi All,
I am somewhat new to Django, although I have been programming in
Python for a while. I installed Pinax and have been working on a site
from one of the starter templates, and have an error I can't seem to
wrap my head around.
Exception Type: TypeError at /models/add
Exception Value: argume
Hi did you notice in tutorial (or docs) that view names in urls.py are
usually strings, not functions? So, if you use 'farewell' in urls.py,
you should be fine.
HTH
Jirka
On 22/04/2011, Marg Wilkinson wrote:
> Hi,
>
> I'm a total newbie slogging my way through
Good call - thanks Shawn - totally forgot to check the imports - the
joys of being a newbie.
Thanks for the quick reply.
On Apr 23, 11:24 am, Shawn Milochik wrote:
> It's probably that you didn't import 'farewell' from views.py in
> urls.py, so it's not in scope.
It's probably that you didn't import 'farewell' from views.py in
urls.py, so it's not in scope.
--
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, s
Hi,
I'm a total newbie slogging my way through a tutorial. I've reached an
impasse with logging off
In views my code includes
from django.contrib.auth import logout
def farewell(request):
logout(request)
On Thursday, March 31, 2011 12:43:32 PM UTC+1, rune wrote:
>
> Hi all,
>
> I just started with Django, done the tutorial, now I'd like to create
> a page were users can put
> requests in a queue. Lets say the fields to display are user, date,
> filepath, date to load.
> I can create this with
On Thu, 2011-03-31 at 04:43 -0700, rune wrote:
> I just started with Django, done the tutorial, now I'd like to create
> a page were users can put
> requests in a queue. Lets say the fields to display are user, date,
> filepath, date to load.
> I can create this with a modelform, but I'd like the u
Hi all,
I just started with Django, done the tutorial, now I'd like to create
a page were users can put
requests in a queue. Lets say the fields to display are user, date,
filepath, date to load.
I can create this with a modelform, but I'd like the user field to be
a drop down list with values,
re
Hi Alendit,
Thanks for explanation. I understand its not necessary but want to
understand how reverse() works-checked source but did not understand
much. my doubt is if I use something like :
reverse('django.contrib.auth.views.password_change_done'),
and have url entry like as follows.
url(r'^
Hi,
if only one url is bound to a controller there is no need for a name
argument. When you are specifying a name for an expression and it have
got the same name as the controller a conflict arise. Just drop the
name argument and it should work.
Alendit.
On 27 Mrz., 09:54, Ajay wrote:
> I am mi
I am missing something really basic here.
I am trying to reuse django's change password views. I have following
in urls.py:
(r'^change-password/$', 'profile.views.change_password',
{},'change_password'),
url(r'^change-password-done/$', 'profile.views.password_change_done',
name='django.contrib.au
It's not possible to have a system that can access another, yet block
access to the other system if hacked.
This is why it is impossible to have unbreakable encryption in
consumer devices. You can't make a Blu-Ray player that doesn't contain
the capability to decrypt Blu-Ray discs. Therefore, all
Howdy,
This is a newbie question on best practices of web design and django.
I have the following problem: Imagine my django app is wonderful and secure
and uses the auth module and all that. I need to run some other web service
provided by other developers in my company on another platform
On 3/4/11, Karen Tracey wrote:
> On Wed, Mar 2, 2011 at 4:43 PM, Alex Hall wrote:
>
>> Well, looks like things are suddenly working. I started over, and
>> changed two things: I removed the path from the database file name and
>> I gave it an extension of .db. The file appeared in the same place
On Wed, Mar 2, 2011 at 4:43 PM, Alex Hall wrote:
> Well, looks like things are suddenly working. I started over, and
> changed two things: I removed the path from the database file name and
> I gave it an extension of .db. The file appeared in the same place as
> before, so my path was right, but
Well, looks like things are suddenly working. I started over, and
changed two things: I removed the path from the database file name and
I gave it an extension of .db. The file appeared in the same place as
before, so my path was right, but the .db extension seems to have made
something quite happy
On 3/2/11, Kenneth Gonsalves wrote:
> On Tue, 2011-03-01 at 23:14 -0500, Alex Hall wrote:
>> I get a very long traceback, ending with sqlite3.OperationalError:
>> unable to open database file.
>
> looks like a permissions problem. Does the webserver have permissions to
> write to the parent direct
On Tue, 2011-03-01 at 23:14 -0500, Alex Hall wrote:
> I get a very long traceback, ending with sqlite3.OperationalError:
> unable to open database file.
looks like a permissions problem. Does the webserver have permissions to
write to the parent directory of the sqllite file?
btw, it is good pra
Hi all,
I have been working with Python for quite a while now and I feel
pretty comfortable with it. I am in my last semester at college for a
computer science degree, so I also have the background behind a lot of
what Python does (objects, classes, all that). I am in a databases
class and one requ
On Mon, 2011-02-14 at 02:14 -0800, zedkil wrote:
> Thank you very much for your kind explanations.
>
> Another question on the admin UI, can I customize the user page in the
> admin
> gui and add him some capabilities do some actions like get statistics
> see
> some graph and so on, and do this
Thank you very much for your kind explanations.
Another question on the admin UI, can I customize the user page in the admin
gui and add him some capabilities do some actions like get statistics see
some graph and so on, and do this customization per level, or this is out of
scope for the admin
Okay er, there's a group model, where a group can belong to a parent group,
and then the permissions for the children are inherited from the parent
object, with the permissions specified on the child object being
the overrides.
I am looking to re-write this soon, so I will ask the client if they w
Could you elaborate please ?
--
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 o
so if it not can someone direct
> me to the right place.
>
> I'm newbie to django I'm planning new web App and I've some question since
> I'm not sure if what i'm planning is possible at all.
>
> Short description of my app:
>
> I have hierarchy of
Hi all,
I'm not sure if its the right place to ask, so if it not can someone direct
me to the right place.
I'm newbie to django I'm planning new web App and I've some question since
I'm not sure if what i'm planning is possible at all.
Short description o
Hey,
I did this *exact* same thing for a requirement of one of our clients. We
used an inherited permissions model, but it will require you to
make substantial changes to the authentication system, and doesn't just work
"out of the box".
Best thing to do is to write it up from scratch, then monke
I'm planning new web App.
Short description of my app:
I have hierarchy of: Company then under it the company subsidiary and
each subsidiary as few clients each client has few sites and in each site I
have few Apps.
Company-> subsidiary1-> ClientX
|
Thanks for heading me in the right direction. I had several errors in
my urls.py.
On Feb 11, 11:46 am, Shawn Milochik wrote:
> Without testing it, I suspect the period in your 'request.GET' is the
> problem. Try replacing it with request_get and see what happens.
>
> Shawn
--
You received this
Without testing it, I suspect the period in your 'request.GET' is the
problem. Try replacing it with request_get and see what happens.
Shawn
--
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@googl
Shawn see below.
from django.conf.urls.defaults import *
from mysite.my_clts import views
#from mysite.books import views
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^my_clts/$', 'my_clts.views.index
Would you post your urls.py? It looks like the problem is in there.
--
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+u
I am getting the bad charecter in group name error when using a form.
Environment:
Request Method: GET
Request URL: http://localhost:8000/search-form/
Django Version: 1.2.3
Python Version: 2.7.1
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessi
Thanks for the "heads up".
I actually was aware of this. When I'm trying to figure this kind of
thing out, I start with the simplest problem and then add complications
once I understand the fundamentals -- even if that means doing it the
wrong way initially. Perhaps not the best approach...
On Mon, Feb 7, 2011 at 11:54 PM, Ben Dembroski wrote:
> My apologies to the list.
>
> I just noticed the commas at the end of the lines in the views.py
> file.
>
> Once I got rid of those, all was much better.
>
>
>
Glad to hear it. BTW, you are expressly going against how django
suggests you val
401 - 500 of 1585 matches
Mail list logo