Hi James,
sorry I'm new on Django, can you give me some code example? I mean, hot to
define the CLASS or ID into the html with elements like this {{
form.docfile }} ?
Regards
Russo
El jueves, 13 de noviembre de 2014 15:48:16 UTC-4:30, James Schneider
escribió:
>
> If you a
14, 2014 at 1:16 AM, Russo <mailto:aruss...@musicparticles.com>> wrote:
Hi,
i just implemented the uploadfile form on Django, and everything
goes greate, but i would like to do if it is possible to apply CSS
styles to the upload botton on the forms, Anybody knows this?
Hi,
i just implemented the uploadfile form on Django, and everything goes
greate, but i would like to do if it is possible to apply CSS styles to
the upload botton on the forms, Anybody knows this?
Regards
Russo
--
You received this message because you are subscribed to the Google Groups
on main installation and virtualenv created
> with --no-site-packages should disable it from virtualenv.
>
> This is the battle tested procedure how I do set up my environment:
>
> http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/
>
>
> 15.10.2012
used / ended up with were:
Python 2.7.3 (32 bit)
Postgres 9.2 (32 bit)
Setuptools 0.6c11 for Python 2.7
Psycopg2 2.4.5 for Python 2.7 (32 bit)
VirtualEnv 1.8.2
Django 1.4.1
On Sunday, October 14, 2012 6:25:41 PM UTC-4, Joshua Russo wrote:
>
> This is probably a VirturalEnv
This is probably a VirturalEnv problem as opposed to a Django problem but I
was wondering if someone here could point me in the right direction.
I'm trying to setup clean environment for a demonstration of Django on
Tuesday but I get the following when I try to setup the project within the
virt
ither.
Thanks for the idea
On Sunday, October 14, 2012 4:56:59 PM UTC-4, CLIFFORD ILKAY wrote:
>
> On 10/14/2012 03:47 PM, Joshua Russo wrote:
> > I have project that I have been working and I was contemplating open
> > sourcing it but I ran into a little hang up. How to h
> I thought it was done well, but I later realised it needed a serious amount
> of re-writing and documentation - which I still haven't got around to doing;
> https://github.com/foxx/django-cutemodel
>
> Others may be able to offer a bit more advice, but the above is a head
&g
I have project that I have been working and I was contemplating open
sourcing it but I ran into a little hang up. How to handle the database
authentication. The settings file obviously needs to be included but I
don't want to advertise the production database login. How is this
generally handle
I've noticed that instead of generating an error, if a filter or tag is
used that is not found in a {% load %} item, the include that contains the
error is just skipped. Is there anyway to debug which filter/tag is failing?
--
You received this message because you are subscribed to the Google G
Is there a way to select a list of group by columns?
The aggregation methods seem only apply to a single model but I want to use
fields from different models to group by.
select org.id as organization_id,
dep.id as department_id,
cat."catId",
max(cat.name) as name,
it looks like this is the best way to tackle the problem.
http://stackoverflow.com/questions/1724317/django-exclude-on-a-many-to-many-relationship-through-a-third-table
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on
I have a 3 table solution
class Organization(models.Model):
name = models.CharField("Organization's name", max_length=100)
class OrganizationDepartment(models.Model):
organization = models.ForeignKey(Organization)
name = models.CharField("Name", max_length=100)
contacts
Is there any particular reason why it's assumed you won't be performing a
Max on a CharField?
I tried to create the following QuerySet:
Document.objects.filter(documentType=1,
event__eventType=3).annotate(event_date=Max('event__start_date'),
subcommittee=Max('event__subcommittee__name')).orde
I had previously typed (but obviously not sent) a thank you ... so, thank
you. That was what I was looking for and did lead me to my ultimate
solution.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
h
So, how I actually solved it was even a bit different:
Document.objects.filter(documentType=1,
event__eventType=1).annotate(Max('event__start_date')).order_by('event__start_date__max')
I had to use the Max function because the relationship is actually a many to
many. Even if it was just a stand
I have 2 tables, document and event. I want to retrieve the document url and
the event date but it seems like I can't do this in a single query set and
that is then used directly in a template. This was my first thought:
context = {
'minutes': Document.objects.filter(documentType=1,
eve
That makes sense. 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/-/Hz0DW_-dSwAJ.
To post to this group, send email to django-users@googlegroups.com.
T
I know you can run multiple admin sites, but the only reason I can see for
doing it is to have a full admin and other customized admin sites for
different types of users. This is possibly even a stretch, and really just a
guess.
What are some of the use cases for multiple admin sites?
--
Yo
Thanks for the help, CSS is always my gremlin
--
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/-/TmoW1R-DflQJ.
To post to this group, send email to django-use
I know this is a bit off topic but I know this place is full of very
helpful intelligent people. :o)
Ok so I have an html block (div, p, doesn't matter what kind), and I fill it
with a label and an input text field. The input is always larger than the
label (rightly so), but the label is always
Things will break in the sense that, if you add another app that accesses
the User model they will only see the original implementation. They won't
get your subclass. Other than that, other apps that use the User model
should "work" just fine.
Unless I'm missing something, and in that case some
Ooo that looks like what I'm looking for. Thanks for the tip.
Do you have any experience with it?
--
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/-/BhN92mZ7
Ok, I've been looking into the different database based translation
solutions out there and I can't find what I really had in mind. I need to
have non-technical people easily update the translations. So I wanted a
solution where I could create an interface to ease the process.
One problem is th
Never mind I got it. I changed my url patter to
url(r'^events/(?P\d{4})/(?P\d{1,2})/$', events,
name="eventsMonth")
I'm still not very sharp on my regex skills. I realized that {2} required a
2 digit number
--
You received this message because you are subscribed to the Google Groups
"Dj
I setup this patter in url.py
url(r'^events/(?P\d{4})/(?P\d{2})/$', events,
name="eventsMonth")
in my template I have this tag
{% url eventsMonth year=month.prev.year month=month.prev.month %}
but I keep getting
Caught NoReverseMatch while rendering: Reverse for 'eventsMonth' wit
Perfect! Thank you
--
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/-/NRyP256j0G4J.
To post to this group, send email to django-users@googlegroups.com.
To unsu
My models.py was getting too large so I tried to split it into
/models
__init__.py
someLogicalGroupOfModels.py
andSoOn.py
in the __init__.py I have
from appName.models.someLogicalGroupOfModels import *
from appName.models.andSoOn import *
All of my imports still work but the queries are n
I just needed to retrieve the first pk value from the field's queryset in
the init of the form and set the initial value there.
--
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/
Nm, I got it
--
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/-/lYt3r0vdv4cJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscrib
Ok, I figured out why, but I still don't know how to fix it.
I set a dropdown to empty_label = None, which automatically selects the
first element. I want that, but the form then thinks it has changed because
the value in the list of initial values is empty for that field, and I can't
see how
I have a model formset that's displaying an extra form, but when I save I
always get that form saved as an empty entry. How do I tell it not to save
the model forms that I don't edit? It doesn't happen this way in the admin,
does it?
--
You received this message because you are subscribed to t
It's more that I want to have different ways of displaying the same form
field. I want the text field to be on the same line as the checkbox when
it's an input field and below it when it's displayed as a textarea. There's
also the point of changing the required setting of the same field based on
I realize that I went from too little information, to too much information
in the previous post, so this is an attempt to find a middle ground.
What I'm building is the ability to have a list of checkable options, and
depending on the setup for a give option it may have a text field to enter
ad
Ok, I apologize. Here is a fuller representation of what I'm doing. I had a
hard time figuring out how much was enough versus too much. This is
simplified, but I think it represents what I'm trying to do. For instance,
don't pay too much attention to the save logic in the view, I haven't
actual
Really? Nothing? Do you need more information? From the lack of response I
feel like I'm completely off the mark and nobody wants to tell me.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://grou
Or am I not using these concepts as intended?
--
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/-/UvoTGqPzDBoJ.
To post to this group, send email to django-user
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
Ya, sorry, I was just getting frustrated because I was taking longer than I
wanted to implement this. The formset is what I ended up with. The tricky
part is still that I want a defined list of options in the formset, so I
can't just make it a model formset. I haven't worked in Django in a while
Ok, so I can retrieve this extra data in the __init__ of the model form, but
it seems like I will need to skip all of the cleaning and automatic
validation of the form; because the data, to be displayed with the
associated checkbox will have to be included with the items field in the
Organizati
My problem is that I have multiple values and I need to associate the list
of extra fields with selected relations for the ManyToMany relation. Below
is a simplified version of what my setup is.
I want to create an edit form for Organization, but I'm struggling with how
best to save (and re-re
Someone tell me where I'm going wrong conceptually here, I feel like I'm
making this too hard.
--
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/-/T5m8OIVMyusJ
I am using the through keyword. I'm just trying to figure out the
most efficient way to create a form field and widget to update the data.
What I'm struggling with is how a ManyToMany field with an intermediate
table containing extra fields fits into the ModelForm saving. I'm just not
sure wher
Ok, so I've created a structure of selectable properties, that for the most
part is a straight forward many-to-many relationship. What I've added is a
character field in the relationship table that should conditionally display
based on the setup of the property being selected.
What I wanted to
btw, I was correct, it was the development settings causing the problem
On Wed, Jul 13, 2011 at 1:43 PM, Joshua Russo wrote:
> Correct
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discuss
Correct
--
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/-/K5yKllF_gPcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe fro
*light bulb* I forgot about my development vs production settings. I was
only changing the TEMPLATE_DIRS in the main settings.py that represents my
production settings. I'm not in a place where I can test this but I'm almost
certain that's what the problem is.
--
You received this message beca
Cool, thanks for the confirmation.
I do have my template directories explicitly listed in TEMPLATE_DIRS. I even
made sure that my app's templates came before the admin templates, but for
some reason it's not picking up my /registration/logged_out.html and the
others that show up in the admin's
That's fine, but I was under the impression that the templates could be
overridden just by creating the proper path in my template directories. Is
that not true?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the we
Am I wrong about how templates work?
--
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/-/FVBKI9qS2PQJ.
To post to this group, send email to django-users@googleg
Sorry, auto correct strikes again. I was trying to reply quickly from my
phone. I meant auth, not author views.
--
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-us
I do have a views that are basically just proxies for the author views, but I
was under the impression that if I just wanted to replace the registration
templates then all I needed was a registration directory in my templates
directory with the right file names. From there it should just take th
I want to use my own logout template but it doesn't want to pick it up. The
login template worked just fine, but for anything that's already in the
admin's template/registration folder, it only wants to use those. I tried
putting my templates folder before the admin templates folder in the list
On Thu, Aug 26, 2010 at 10:17 PM, Joshua Russo wrote:
> There are a lot of PostgreSQL drivers listed on the Python Wiki
> http://wiki.python.org/moin/PostgreSQL
>
> Has anyone found one to be better or even that different from another?
>
Nevermind, It helps to read the docs.
-
There are a lot of PostgreSQL drivers listed on the Python Wiki
http://wiki.python.org/moin/PostgreSQL
Has anyone found one to be better or even that different from another?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
On Fri, Aug 6, 2010 at 12:17 PM, Joshua Russo wrote:
> On Aug 6, 9:57 am, "J. Cliff Dyer" wrote:
> > "Joshua Russo" wrote:
> > >On Thu, Aug 5, 2010 at 10:53 PM, Steve Holden
> wrote:
> >
> > >> On 8/5/2010 7:16 PM, Joshua Russo wrot
On Aug 6, 9:57 am, "J. Cliff Dyer" wrote:
> "Joshua Russo" wrote:
> >On Thu, Aug 5, 2010 at 10:53 PM, Steve Holden wrote:
>
> >> On 8/5/2010 7:16 PM, Joshua Russo wrote:
> >> > On Aug 4, 6:49 pm, Hassan wrote:
> >> >>
On Thu, Aug 5, 2010 at 10:53 PM, Steve Holden wrote:
> On 8/5/2010 7:16 PM, Joshua Russo wrote:
> > On Aug 4, 6:49 pm, Hassan wrote:
> >>> Ok, so it appears that (in Python 2.5 at least) there is no way to
> capture
> >>> the stdout of subprocess.Popen()
&
On Aug 4, 6:49 pm, Hassan wrote:
> > Ok, so it appears that (in Python 2.5 at least) there is no way to capture
> > the stdout of subprocess.Popen()
>
> just do this
>
> from subprocess import Popen, PIPE
> p = Popen([cmd], stdout=PIPE)
> p.stdout.readlines()
>
> thats it!
The problem is that it
On Mon, Aug 2, 2010 at 6:41 PM, Joshua Russo wrote:
> I'm creating a wxPython application that the client can run to make
> sure the installation stack is functioning properly. I want to include
> the unit test processing in this application but I've run into some
> diffi
I'm creating a wxPython application that the client can run to make
sure the installation stack is functioning properly. I want to include
the unit test processing in this application but I've run into some
difficulties. An additional wrinkle I threw in was that I am using
py2exe so they don't also
This is mainly just curiosity at the moment. How do you create a
"processing" intermediate page, like you see on travel sites when they are
looking for the rates? I would always avoid this if at all possible, but
sometimes you have a process that takes longer than usual.
I've been looking around t
ast reply,
>
>
> d
>
>
>
> On Oct 20, 10:38 am, Joshua Russo wrote:
> > On Mon, Oct 19, 2009 at 10:28 PM, The Danny Bos
> wrote:
> >
> >
> >
> > > Hiya,
> >
> > > In the Django Admin for the DateField I only want to displa
On Mon, Oct 19, 2009 at 10:28 PM, The Danny Bos wrote:
>
> Hiya,
>
> In the Django Admin for the DateField I only want to display the Year
> and Month as select lists. I'll default the day to the 1st every time.
> Is this possible?
>
> I want to keep the dates very simple, as I'll be adding many
On Mon, Oct 19, 2009 at 8:03 PM, John Handelaar wrote:
>
> Hello
>
> For reasons I won't bore you with, a Mysql legacy DB *whose schema I
> cannot alter* contains (inter alia) two tables. I'm trying to write
> an alternative front-end to this DB in Django which would be
> read-only.
>
> tableone
2009/10/19 Tomasz Zieliński
>
> On 19 Paź, 20:21, Daniel Roseman wrote:
> >
> > You can't do this in one query with Django's ORM.
> >
> > One way of doing it in two queries might be to get use .annotate() to
> > add the max id of the related objectrevision for each revision, then
> > get all tho
t;
>
>{% for id,url, title,content in details %}
>{{title|safe}}
>{% endfor %}
>
>
>
>Recent Entries
>
>Recent Entries1 01 Des
> 06
>Recent Entries2 01 Des
>
On Sat, Oct 10, 2009 at 9:15 AM, Rizwan wrote:
>
> Hello Djangoer,
>
> I am trying to create website with foreign language in it. I have
> created model for content type and added one page in it. It saving
> fine in database. When I have tried to write view model for this page.
> Its showing me "
the ones that do not have the user.
>
> Thanks again
>
>
> On 28 sep, 20:16, luismmontielg wrote:
> > sorry forgot to mention its a many to many relation so a report can
> > have multiple users
> >
> > On Sep 28, 4:29 pm, Joshua Russo wrote:
> >
> >
On Mon, Sep 28, 2009 at 7:55 PM, luismmontielg wrote:
>
> Hello,
> I have my models like this...
>
> class Report(models.Model):
>title = models.CharField(max_length=50, blank=True)
>users = models.ManyToManyField(User, symmetrical=True)
>categories = models.ManyToManyField("Category",
On Mon, Sep 28, 2009 at 6:36 PM, David Larlet wrote:
>
> Le 22 sept. 2009 à 03:10, snfctech a écrit :
> > I understand that there is a Django branch being actively worked on
> > for connections to multiple DB vendors, or that Django + Elixir may be
> > a good option. But I'm wondering if building
r my OOBase users to
> go to would be an added plus.)
>
> So maybe I shouldn't be calling what I need a "warehouse", but rather
> a "central data repository with an ETL layer"? Or maybe I should
> throw out the ETL overhead entirely and figure out how to perf
It sounds like you just want defaults for your relationships. Is that right?
How are you determining which account to use?
On Mon, Sep 28, 2009 at 12:30 PM, J wrote:
>
> Joshua Russo wrote:
> > When do you want your "dynamic actions" take place?
> >
>
>
the DOM fun, but MooTools makes Javascript
> fun.
>
> On Sep 28, 4:37 am, Joshua Russo wrote:
> > On Mon, Sep 28, 2009 at 4:00 AM, Jani Tiainen wrote:
> >
> > > Joshua Russo kirjoitti:
> > > > Great links guys, thanks. I'm still in the mindset of framew
On Mon, Sep 28, 2009 at 4:30 AM, J wrote:
>
> Hello,
>
> I need to add custom dynamic admin actions (based on records in a
> related table), but I'm not entirely sure how to do this, as it's not
> explained in the docs.
>
> Basically, I have two models: "Transaction", which has a foreign key to
>
On Mon, Sep 28, 2009 at 4:00 AM, Jani Tiainen wrote:
>
> Joshua Russo kirjoitti:
> > Great links guys, thanks. I'm still in the mindset of frameworks just
> > making JavaScript less painful too and I'm looking for ways to move
> > beyond that. I just started l
mixed?
>
> I would start a new thread, but whereas the multi-db issue related
> directly to developing Django technology, I'm not sure the issue of
> the warehouse design is an appropriate topic for this group (although
> I'm also not sure where I should discuss it).
Great links guys, thanks. I'm still in the mindset of frameworks just making
JavaScript less painful too and I'm looking for ways to move beyond that. I
just started looking at Dojo before posting this and it definitely looks
like it has potential.
--~--~-~--~~~---~--~-
gestion to Tony as well. ; )
> I'm a just graduate and at work I'm working on something very similar
> to what has been discussed here.
>
> On Sep 23, 9:51 pm, Joshua Russo wrote:
> > I have many years of database design experience and it sounds like you
> are
> > gett
ld just connect directly to the
> operational systems. I wonder if all that theory is really necessary
> for a basic data warehouse...
>
> On Sep 23, 12:09 pm, Joshua Russo wrote:
> > The multi-db branch is just now in the process of being baked into the
> core
> > and
The multi-db branch is just now in the process of being baked into the core
and from what I can tell it's not quite done yet. Even when it is completely
done I would recommend the data warehouse approach. I view the multi-db
functionality more as a last resort, where you really don't have an option
On Wed, Sep 23, 2009 at 1:00 PM, Daniel Roseman wrote:
>
> On Sep 23, 2:54 pm, Joshua Russo wrote:
> > I want to apply style to a block of text in the middle of a sentance
> without
> > effecting the flow. I've been using what feels like a serious hack by
> using
&g
On Wed, Sep 23, 2009 at 12:40 PM, gustavo wrote:
>
> Hi people!!
>
> I need help trying to understand templates.
>
> Let me explain where I am. I have finished the django tutorial and I
> am assuming ( been right or wrong, I dont know) that the best thing to
> do is to use the template automatic
I want to apply style to a block of text in the middle of a sentance without
effecting the flow. I've been using what feels like a serious hack by using
tags with a class property. My big fear is that the tags will
disappear from the list of supported tags. But really there has to be a way
to do t
I was looking through the QuerySet code and noticed logic for both deepcopy
and clone. What's the difference? What would be an example of why I should
use one or the other?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
I've been happily using JQuery for a while and was wondering why people use
the frameworks that they do. I want to see how other's get flexibility and
efficiency (cool widgets and good response time) out of JavaScript.
For example: The current project I'm working on I've created a visual
display of
On Tue, Sep 22, 2009 at 7:23 PM, MV wrote:
>
> I have a Movie model
> and I have a Image model
> the Image model has a ForeignKey(Movie)
>
> Each Movie has an arbitrary amount of Images.
>
> I have a view where I list all the Movies.
> For each Movie entry, I want one Image.
>
> How do I do that?
On Mon, Sep 21, 2009 at 5:33 PM, Kevin Bache wrote:
> Thanks for both of your ideas.
>
> Joshua: It is stopping on the first line of code, and I can step through
> the manage.py module and if I recall (I'm not in front of my computer at the
> moment) it catches breakpoints in other files (ex: set
On Mon, Sep 21, 2009 at 10:15 AM, Joshua Russo wrote:
>
> On Sep 21, 6:00 am, Kevin Bache wrote:
> > Hi Everyone,
> > I'm a bit of a Django noob so please forgive me if my hope here is
> > swimmingly optimistic:
> >
> > I'd like to be able to set bre
On Sep 21, 6:00 am, Kevin Bache wrote:
> Hi Everyone,
> I'm a bit of a Django noob so please forgive me if my hope here is
> swimmingly optimistic:
>
> I'd like to be able to set breakpoints in my django project which would be
> triggered by my browser's requests to the integrated Django developm
On Sun, Sep 20, 2009 at 6:22 PM, SaiaGo wrote:
>
> I'm trying to make an Israeli site (which means it should be written
> in Hebrew) using the latest SVN and so far Django made it so easy I
> can't believe it's free. I got a simple magazine app with up and
> running in less then a day, and I bare
On Sat, Sep 19, 2009 at 3:07 PM, Karen Tracey wrote:
> On Sat, Sep 19, 2009 at 11:51 AM, Joshua Russo wrote:
>
>> Just one other thing. I was under the impression that x = u''
>> is equivalent to x = Unicode(''). Is that not correct? Seeing as you seem
&g
On Sat, Sep 19, 2009 at 2:40 PM, Karen Tracey wrote:
> On Sat, Sep 19, 2009 at 11:19 AM, Joshua Russo wrote:
>
>> ... in fact using utf-8 string literals can cause problems in other places
>>> with code that assumes another encoding (e.g. ascii) for byte strings.
>>
>
> ... in fact using utf-8 string literals can cause problems in other places
> with code that assumes another encoding (e.g. ascii) for byte strings.
>
Could you expand on this? I know that the Unicode string object has
different methods than standard String, but are there other scenarios where
On Sat, Sep 19, 2009 at 1:31 PM, Karen Tracey wrote:
> On Sat, Sep 19, 2009 at 9:59 AM, Joshua Russo wrote:
>
>> I was working through some regression tests and saw a scenario I thought
>> wasn't allowed/recommended. I was under the impression that if you specified
>&
I was working through some regression tests and saw a scenario I thought
wasn't allowed/recommended. I was under the impression that if you specified
UTF-8 encoding at the top of the file you where not suppose to use u
decorated unicode static string. So instead of u'prédio' I use 'prédio' in
files
On Fri, Sep 18, 2009 at 10:13 PM, aa56280 wrote:
>
> When a new instance of some object is created, I need to send out X
> number of emails. X could potentially mean hundreds of emails.
>
> What would be the most efficient way to do this?
>
> I know if I use send_mass_mail() it could potentially
You might want to check this out as a more up to date intro:
http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
On Mon, Sep 14, 2009 at 1:38 PM, Randy Barlow wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> about2flip declared:
> > File "E:\djproj\ifriends\..\ifriends\People\models.py", line 8
> > def_str_(self):
> > ^
> > SyntaxError: invalid syntax
>
> Looks like you
On Mon, Sep 14, 2009 at 1:38 PM, Joshua Russo wrote:
> On Mon, Sep 14, 2009 at 1:27 PM, about2flip wrote:
>
>>
>> Hi:
>>
>> I am using learn django in 24 hours and I am following this example on
>> models.
>>
>> from django.db import models
1 - 100 of 236 matches
Mail list logo