You've probably changed your .py file association in Explorer, probably
when configuring Notepad++.
Try changing them back so that python executes .py files or run
> python django-admin.py startproject todo
Cheers,
AT
On Thu, Nov 3, 2011 at 4:58 AM, paz aricha wrote:
> I finished the Thin
All you have to do is create a MyFormMixin class and add all those methods
you want to override. Usually you will want to call super() on the class so
that the normal behavior is also present in your final class.
The difference between a Mixin and a full-fledged Class can be nearly
non-existent in
Django caching frameworks also provide a low level API[1].
sebleier's django-redis-cache is one great tool for the job [2]. In order
to use it, you will of course need redis too [3].
Cheers,
AT
[1]
https://docs.djangoproject.com/en/dev/topics/cache/#the-low-level-cache-api
[2] https://github.co
Hi,
I'm a new to Django...
I have a database schema that stores me information that I want to
show in a Django website. This database schema have nothing to do with
a Django App...
Which is the best way of doing this in Django? I have read the
documentation and seems to me that I will need to us
Hi Daniel, thanks for the reply.
I have tested to "inspectdb" but I think the schema is to complex, for
example... for the table "tdir_files_context" (djangoinspectdb.JPG
"image in attachment") I got this model:
[code]
class TdirFilesContext(models.Model):
id_category = models.ForeignKey(Tdir
Hello, Rodrigo
>From looking at the ModelAdmin source code[1], I think all you need to do
is reimplement the queryset() method in your subclass on admin.py.
Make sure you return a filtered queryset based on request.user. I never use
the admin, so I'm not so sure about how the user will be accessi
Great! I will test your templates. I'm new to Django and I have
searched a lot for this. The templates look awesome.
Best Regards,
On Fri, Nov 4, 2011 at 4:11 AM, Ezequiel Bertti wrote:
> Hi,
> I just release a project on github with bootstrap from twitter v1.4 form
> django-registration.
> Is
Pass serialized json as a template variable?
That's what I'm doing atm. But JKM has built an app to help reduce the need
to write javascript [1]. I haven't used it myself, but it looks interesting
and promising.
Cheers,
AT
[1] https://github.com/jacobian/django-googlecharts
On Mon, Nov 7, 201
django-registration [1], quite possibly with a custom backend.
Cheers,
AT
[1] https://github.com/nathanborror/django-registration
On Mon, Nov 7, 2011 at 11:50 AM, youpsla wrote:
> Ok,
> thanks for the answer,then I'll start this way.
>
> Just another question. I'll use a registration package
Hi,
I'm trying to do a date facet with Haystack using Solr. The thing is
that I have no clue on how to use the results that I get from Haystack
and how to put this results in a Django template.
I have made a post in stackoverflow, but until now I have no clues on
how to achieve this. Can you guys
You are passing one positional argument to your view with the value of 1L
(the L is for long integers), and an empty dict for the keyword arguments.
Check your mysite.polls.views.results URL mapping in urls.py and see what
it's expecting. My bet is that your missing a \d wildcard in your regex.
I
On Tue, Nov 8, 2011 at 12:40 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> If you ask a query to output its SQL, what is displayed is not exactly
> equivalent to what is passed to the underlying query engine. Django
> uses a standard Python database API to access the database. That
>
I think you have a typo! Try {{ foo.baz }} instead ;-)
Cheers,
AT
2011/11/8 Hůla, Václav
> Hello.
> How I do equivalent of foo[bar] in template? From documentation it
> looks like it should be done automatically - see
> https://docs.djangoproject.com/en/1.3/ref/templates/api/#render
>
> But:
>
Actually, judging by his 'context' variable, he is not. I'm attributing
the"foo[bar]" (sic) in his question to a newbie typo, rather.
Cheers,
AT
On Tue, Nov 8, 2011 at 12:28 PM, Tom Evans wrote:
> 2011/11/8 Andre Terra :
> > I think you have
I stand corrected. I must have read the OP too fast. Well, I believe it's
been answered then! :)
Cheers,
AT
On Tue, Nov 8, 2011 at 12:51 PM, Tom Evans wrote:
> On Tue, Nov 8, 2011 at 2:31 PM, Andre Terra wrote:
> > Actually, judging by his 'context' variable, he
Love the nl_NL touch
Cheers,
AT
On Wed, Nov 9, 2011 at 2:21 PM, Tom Evans wrote:
> On Wed, Nov 9, 2011 at 4:03 PM, Niels wrote:
> > Worse:
> locale.getdefaultlocale()
> > (None, None)
> >
> > Still i'd say this should be handled better than bailing out with an
> error.
> > Something like
You should serve your files directly through the server (preferably not the
built-in django development server), instead of writing a django view.
Use nginx[1], apache[2] or any other server, then place the excel file in a
directory outside of your django app, and write an alias to that location.
Hello, Nan
Please read through the File Uploads docs, especially the bit concerning
upload handlers[1]. Good luck!
Cheers,
AT
[1]
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#upload-handlers
On Fri, Nov 11, 2011 at 2:30 PM, Nan wrote:
> Hi folks --
>
> I know a related to
Hello, Fabio
I took a look at django-csv-importer but since my files weren't quite clean
(or comma separated), I ended up rolling my own solution using celery[1],
to make the uploading rask asynchronous, and DSE[2], to allow for faster
bulk imports, as well as a lot of trial and error.
Take a lo
;ll just make a wiki
entry at djangoproject.com, but I'll have to leave that for sometime later
today.
Cheers,
AT
On Sun, Nov 13, 2011 at 9:08 AM, Fabio Natali wrote:
> On 11/12/2011 07:40 PM, Andre Terra wrote:
>
>> Hello, Fabio
>>
>> I took a look at django-c
Since url shorteners have already been suggested, how about the possibility
of writing a shorter url pattern in urls.py. Would something like
http://www.freesound.org/r/1-123-a12345678ed12345d123/ be good enough for
you?
Cheers,
AT
On Tue, Nov 15, 2011 at 2:34 PM, Tom Evans wrote:
> On Tue, N
Does anybody have a link to a downloadable version of that presentation?
blip.tv is blocked for me here at work and I would love to watch it right
away.
Thanks in advance!
Cheers,
AT
On Wed, Nov 16, 2011 at 3:38 PM, Shawn Milochik wrote:
> You might be interested in this talk from DjangoCon U
You can also override the save method in the model to prevent bad dates
(i.e. > your maximum date) to be saved to the database, if by any chance
your use case doesn't include users filling out a nice, simple html form.
Cheers,
AT
On Thu, Nov 17, 2011 at 5:07 AM, Babatunde Akinyanmi
wrote:
> -1
You could probably use some help with the API.
https://github.com/toastdriven/django-tastypie
Cheers,
AT
On Mon, Nov 21, 2011 at 8:21 AM, Alec Taylor wrote:
> Good evening,
>
> I am strongly considering building my project using DJango.
>
> My project will provide a web-interface and a mobile
You may have a problem with your Python install and multiple django
versions installed for the same environment.
In a shell/cmd try: $ python -c "import django; print django.get_version()"
and double check that you're not using a legacy version. Post back with
your findings should you have any do
Please paste your full traceback every time you are asking for help with
debugging.
Cheers,
AT
On Mon, Nov 21, 2011 at 3:10 PM, MikeKJ wrote:
>
> 1st time I have hit this and I am confused the subject error is returned as
> in the send_mail line
> all the fields in the model are either CharFie
Ideally, after removing django, you should NOT install it on your
site-packages this time around.
Instead, install virtualenv[1] and proceed from there. Learn it. It will
pay off!
Bonus points if you use pip[2][3] as well.
Cheers,
AT
[1] http://pypi.python.org/pypi/virtualenv
[2] http://pypi.
You will definitely need to look into caching those results, perhaps
"permanently" in a database.
My recommendation is redis[1] and possibly tools like sebleier's
django-redis-cache[2]. Cache invalidation is a pain, I know, but it's
pretty much the only way to go.
Long term, you will need to prof
This should be run asynchronously (i.e. celery) when importing large files.
If you have a lot of categories/subcategories, you will need to bulk insert
them instead of looping through the data and just using get_or_create. A
single, long transaction will definitely bring great improvements to spee
I'm also using redis for both brokering and caching. So far, so good. My
use case consists in one HUGE (5 hours) task, and several tiny (30s or
less) scheduled tasks.
Cheers,
AT
On Mon, Nov 28, 2011 at 10:54 AM, Carlos Daniel Ruvalcaba Valenzuela <
clsdan...@gmail.com> wrote:
> Celery has a bun
I need to put in production a Django website, but I don't know what
machine I should use... this is not a commercial project, probably the
monetary return will be very very little in ads...
I have:
-Django
-PostgreSQL
-Solr
Do you think that will be enough a linode with 512mb ram?
- Visitors day
Hello, Shaini
Please read https://code.djangoproject.com/wiki/UsingTheMailingList
Sincerely,
André Terra
On Tue, Nov 29, 2011 at 5:21 AM, shaini sasidhar
wrote:
> Hi..
>
> Need to customize authentication backend in my Django
> project.Also want to authenticate based on one of my MySQ
Just use django-mptt [1][2], especially after version 0.5 It will do
exactly what you need, except better!
Cheers,
AT
[1] http://django-mptt.github.com/django-mptt/
[2]
http://django-mptt.github.com/django-mptt/overview.html#what-is-django-mptt
On Tue, Nov 29, 2011 at 12:22 PM, fabrixxm wrote:
per shared hosting
> alternatives for django.
> I don't recommend going forward with apache with so few ram, use nginx
> or lightppd.
> Best regards,
>
> On Nov 28, 4:30 pm, Andre Lopes wrote:
>> I need to put in production a Django website, but I don't know what
>
I'm trying to serve a Django application to production. I have
installed Gunicorn and now I need to setup a Nginx Virtual Host. I'm
kind of lost on how to configure the "virtual.conf" from Nginx. I just
want to use Nginx as proxy, I don't want to configure deplyment
scripts for now.
I have this la
Hi,
I'm serving to production a Django website with Nginx + Gunicorn with
virtualenv.
My dumb question is: I must to install supervisord in my virtualenv or
outside my virtualenv?
Best Regards,
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
Thank you for the reply.
Best Regards,
On Wed, Nov 30, 2011 at 2:51 PM, DrBloodmoney wrote:
> On Wed, Nov 30, 2011 at 9:35 AM, Andre Lopes wrote:
>> Hi,
>>
>> I'm serving to production a Django website with Nginx + Gunicorn with
>> virtualenv.
>>
>
Hi,
I need to track visitors with Google Analytics. What should I use to
get Google Analytics working on Django?
What is my best choice?
Best Regards,
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
Hi,
I'm new to Django. I need to setup Git to deploy a Django website to
the production server. My question here is to know what is the best
way of doing this.
By now I only have a Master branch. My problem here is that
Development environment is not equal to the Production environment.
How can I
s, you are welcome.
Best Regards,
On Fri, Dec 2, 2011 at 10:08 AM, kenneth gonsalves
wrote:
> On Fri, 2011-12-02 at 09:00 +, Andre Lopes wrote:
>> How can I have the two environments(Development and Production) in
>> Git? Should I use two new Branches(Development and Product
I haven't worked with either one of them, but satchmo[1] is also often
mentioned.
Django packages also has a list of e-commerce tools for django [2].
Hope that helps!
Cheers,
AT
[1] http://www.satchmoproject.com/
[2] http://djangopackages.com/grids/g/ecommerce/
On Tue, Dec 6, 2011 at 10:55
I'll admit that I read through the thread in about a minute, so forgive me
if I'm completely off, but isn't this something that can be solved through
aggregation[1]?
And you don't want votes, but rather *contexts*, because all of these
matter to you, whereas votes can be 0 (default). Speaking of w
Hello, Kenneth
*I am posting this here as the app in question has not got the issue
> tracker available. On doing pip install registration, a version without
> the registration.default.backends.**urls is installed. Can this be
> corrected?*
>
Only if the author updates the package in pypi[1], whi
On Tue, Dec 6, 2011 at 7:45 PM, Stuart Laughlin wrote:
> In my opinion ecommerce is not where you want to make
> your own mistakes and go by trial and error. Better to benefit from
> the experience, mistakes, and corrections of others when it comes to
> ecommerce. Leave the wheel reinventing for y
html:108
#: templates/b.html:3
msgid "My string"
msgid_plural "My strings"
msgstr[0] ""
msgstr[1] ""
I can reproduce this for similar structures in other files.
"blocktrans" strings that don't have "trans" equivalents in other
files co
On Thu, Dec 15, 2011 at 11:51 AM, Bernardo wrote:
> but I
> wanted a easier way to render data from multiple return points in a
> same function without calling another thing multiple times...
>
Use Class-based views[1] and subclass them as needed?
Cheers,
AT
[1] http://django.me/cbv
--
You
Your template doesn't match the form you provided, so I'm going to guess
that what you need is {% myform.beatles.choices %} for the iterator.
For the future, please try to post full tracebacks and the actual code.
Good luck!
Cheers,
AT
On Thu, Dec 15, 2011 at 12:16 PM, CrabbyPete wrote:
> Ac
On Thu, Dec 15, 2011 at 8:17 PM, Bernardo wrote:
> I still need to see how to combine multiple Class based views to treat
> my data.
>
The idea here is to use Mixins, i.e., classes that implement a few methods
and can be mixed with one of your main classes.
# --
I'll refrain from repeating what the others have said, so I'll just say I
wholeheartedly agree.
Having said that, a project like this requires *extensive* knowledge of
HTML/JS/CSS in order to be successful, as someone pointed out. With that in
mind, I recommend you find a partner with front end ex
PyDev also works well. It is an Eclipse Plugin.
On Mon, Dec 19, 2011 at 11:19 AM, Ankit Rai wrote:
> pycharm +1
>
>
> On Mon, Dec 19, 2011 at 4:41 PM, Thomas Weholt
> wrote:
>>
>> Pycharm +1
>>
>>
>>
>> On Mon, Dec 19, 2011 at 11:35 AM, Zhukov Pavel wrote:
>> > PyCharm?
>> >
>> > On Mon, Dec
You can use Aptana which is basically Eclipse + PyDev and some other
features.
It offers everything you need and is free as in beer, whereas pycharm is
shareware.
I used to develop on Aptana, but now I just use vim + plugins and some
customization. It's lighter overall and I realize that the spee
On Mon, Dec 19, 2011 at 1:23 PM, Alec Taylor wrote:
> *Aptana*
> Code-completion is very good. Can't find embedded Django interpreter;
> is there one?
>
What do you mean by embedded Django interpreter? An instance of python
running within Aptana? If that's what you need, you can follow this
scre
On Mon, Dec 19, 2011 at 1:35 PM, J. Marc Edwards <
marc.edwa...@nimbisservices.com> wrote:
> I'd like to write a paragraph on my page that describes the {{ }} syntax,
> but the template interpreter is interpreting the braces.
>
From
https://docs.djangoproject.com/en/dev/ref/templates/builtins/?
I'm not sure I understand your question, but here's my attempt at an answer.
root directive in HttpCoreModule: http://wiki.nginx.org/HttpCoreModule#root
Example nginx.conf: http://dpaste.com/hold/676259/
Cheers,
AT
On Wed, Dec 21, 2011 at 10:22 AM, kenneth gonsalves
wrote:
> hi,
>
> I have a s
You could perhaps subclass ChoiceField to allow for custom empty_labels.
This code is highly untested and written so casually it shouldn't be pasted
anywhere.
# your forms.py
from django.forms.fields import ChoiceField
class MyCustomChoiceField(ChoiceField):
def __init__(self, *args, **kwarg
On Fri, Dec 23, 2011 at 12:27 AM, Cal Leeming [Simplicity Media Ltd] <
cal.leem...@simplicitymedialtd.co.uk> wrote:
> I think the most important aspect is to keep this integrated into the
> list, and not require the user to break off to another service. - It also
> means that there's very little a
You've defined a class named *DevSrcForm* and you're calling super on
*DevForm*.
Since you haven't provided a full traceback or even the code from DevForm,
I can't exactly explain what's going on. "Anything can happen" pretty much
sums it up.
Cheers,
AT
2011/12/23 郁夫
> hi, I use a form class
On Thu, Dec 22, 2011 at 11:33 PM, Edvinas Narbutas wrote:
> I get this error. "not enough arguments for format string", which im
> guessing the LIKE isnt working because this query works.
>
No, LIKE is working fine, it's your Python string that's broken.
item_search_results = itemSearch.object
You have inconsistent imports so that your signal is being called more than
once.
By inconsistent I mean "from myapp.models import foo" and "from models
import foo" in different areas of your app/project.
Cheers,
AT
On Mon, Dec 26, 2011 at 2:09 PM, devbird wrote:
> I've a post_save handler me
My bet is that you're using Windows.
Open the Registry Editor (hit Winkey+R, "regedit" (no quotes), hit enter)
---
Go to *HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command*
and check that it looks somewhat like '"PYDIR\\python.exe" "%1" %*'
If you're missing the final * %**, it won't
It's not just %, it's %* (notice the asterisk).
I just tried changing the value back and forth here and it worked as
expected.
Cheers,
AT
On Tue, Dec 27, 2011 at 12:44 PM, Varrant wrote:
> In registry % was missing, but nothing changed.
>
> "One time solution work's nice :D
>
> I'll lookfor v
*Before this thread turns into **another "My favorite X is Y", everyone
please think twice before posting.*
OP (probably) asked "Which CMS will let me upload and embed videos?", so
unless anyone has something to add in that regard, there's no need to state
your personal preference.
If, instead, h
This has been answered before:
http://groups.google.com/group/django-users/browse_thread/thread/9d5352d7921e0eb4?hl=en#
Cheers,
AT
On Sat, Dec 31, 2011 at 2:58 PM, Bart Nagel wrote:
> At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote:
> > File associations are fine i reckon, because django-
Use virtualenv: http://pypi.python.org/pypi/virtualenv
Cheers,
AT
On Sun, Jan 1, 2012 at 10:29 PM, Bart Nagel wrote:
> At 2012-01-01 14:23:50 -0800, Chris Kavanagh wrote:
> > On Jan 1, 4:44 am, Bart Nagel wrote:
> > > At 2012-01-01 01:12:27 -0800, Chris Kavanagh wrote:
> > >
> > > > On Dec 3
Hello, Alec
There are plenty of threads regarding inexpensive django hosting. Please
browse the mailing list archives before starting a new one.
We don't need another 100 replies with suggestions!
Cheers,
AT
On Mon, Jan 2, 2012 at 6:49 AM, Alec Taylor wrote:
> Good afternoon,
>
> I'm lookin
Don't use Thread, use Celery [1] and django-celery[2].
You will also need one of several available brokers, like RabbitMQ[3][6],
or kombu[4] + django-kombu[5].
Happy reading!
Cheers,
AT
[1] http://ask.github.com/celery/
[2] http://pypi.python.org/pypi/django-celery/
[3] http://www.rabbitmq.com
On Mon, Jan 2, 2012 at 5:57 AM, Elad Zucker wrote:
> The main problem I am having with trying to change the flatpage is that
> the flatpage is already registered. so I cant re-register with a new admin
> modal.
Try having a call to admin.site.unregister first!
Cheers,
AT
--
You received th
Hello,
I looked into your problem and realized the current implementation of {%
load %} doesn't allow for homonimous tags. I plan on working toward a patch
to fix this, but this can take a little while. Meanwhile, your best bet
would be to fork one of the two projects and change the tag's name, I
/django-smart-load-tag
On Mon, Jan 2, 2012 at 10:57 AM, Andre Terra wrote:
> Hello,
>
> I looked into your problem and realized the current implementation of {%
> load %} doesn't allow for homonimous tags. I plan on working toward a patch
> to fix this, but this can take a lit
First of all, welcome to Django!
While many like to use the admin as a public facing CRUD app, that is not
what it is designed for. In any case, writing your own forms is *a
requirement* in pretty much every Django project, simply because no
automatic form creation like the admin could possibly an
If you're talking about string formatting operations, Django is just
Python, so %(key)s will work.
Cheers,
AT
On Wed, Dec 28, 2011 at 9:01 AM, ali alizadeh wrote:
>
> hi.
>
> in psycopg module, when composing a query, you can use "%(key)s" in your
> query instead of "%s", and pass a dictionary
newrelic.com
On Tue, Jan 3, 2012 at 12:09 PM, william ratcliff <
william.ratcl...@gmail.com> wrote:
> Could someone provide a link, or a brief description of "New Relic"
>
> Thanks!
>
>
> On Tue, Jan 3, 2012 at 9:00 AM, Cal Leeming [Simplicity Media Ltd] <
> cal.leem...@simplicitymedialtd.co.uk>
Take a look at Chords[1] in Celery[2].
Cheers,
AT
[1]
http://ask.github.com/celery/userguide/tasksets.html?highlight=chords#chords
[2] http://ask.github.com/celery/
On Tue, Jan 3, 2012 at 3:42 PM, Etam wrote:
> How do you synchronize threads in forked processes?
>
> Thanks,
> Etam.
>
> --
> Y
I'm sorry, folks, but I'll have to *vehemently **disagree *with a lot of
what has been said in this thread. To the OP, I'm sorry I didn't reply any
sooner.
No, you *don't need *to go reading about what MVC means. Django is a
*MTV *framework,
not *MVC*. There are similarities, but the differences a
On Wed, Jan 4, 2012 at 12:16 PM, Venkatraman S wrote:
> SQL is highly flexible provided you know to write good sql (its like the
> way Russell mentions 'It Depends' :P ); atleast i have been writing sqls
> for the past 8 years and i find it easy to write them when the
> relationships are complex.
Hello,
The error you're seeing is due to Django not being installed in your
virtual environment.
virtualenv is the way to go, unless you have an incredibly good reason not
to use it.
It couldn't possibly break anything as it installs virtual environments
alongside your system wide Python.
If yo
I introduce to you django-mptt: "utilities for implementing a modified
pre-order traversal tree in django".
https://github.com/django-mptt/django-mptt
http://django-mptt.github.com/django-mptt/
Cheers,
AT
On Fri, Jan 6, 2012 at 1:12 PM, BillB1951 wrote:
> I am having trouble passing a parent
Line 23 in your views.py file is missing a closing )
Syntax errors mean Python can't parse your code, so usually you'll find
that you're missing a comma, have an extra bracket or have mixed tabs and
spaces in the same file, for example.
Cheers,
AT
On Mon, Jan 9, 2012 at 1:15 PM, Olof Edler wro
You can override the model's save method?[1][2]
Cheers,
AT
[1]
https://docs.djangoproject.com/en/dev/ref/models/instances/#saving-objects
[2]
https://docs.djangoproject.com/en/dev/topics/db/models/#overriding-model-methods
On Mon, Jan 9, 2012 at 11:39 PM, Jeff wrote:
> Hi all,
>
> I need to
Each plugin should call super() on their own definition of the
get_context_data method -- which will return a dictionary --, then update
and return a modified dictionary.
There's no need to explicitly call each plugin by the name in subclasses.
It works the other way around.
Cheers,
AT
On Tue,
Python will use solve the diamond problem through MRO[1], so it all depends
on the order you in which you mix your classes.
class MyBaseView(BaseDetailView):
def get_context_data(self, *args, **kwargs):
context = super(MyBaseView, self).get_context_data(*args, **kwargs)
contex
The important question here is, what are you trying to achieve, outside of
the functionality itself? Are you trying to log changes to provide an audit
trail? If so, there are tools for that.
Cheers,
AT
On Wed, Jan 11, 2012 at 2:53 PM, Jeff wrote:
> Matt,
>
> On Jan 10, 5:57 pm, Matt Schinckel
Or use a GUI tool like PgAdmin[0] for PostgreSQL, which is packaged into
most psql distributions.
Cheers,
AT
[0] http://www.pgadmin.org/
On Wed, Jan 11, 2012 at 6:30 PM, Python_Junkie <
software.buy.des...@gmail.com> wrote:
> For those who do not want to use another abstraction module, just
nginx runs on windows xp, and should run on vista/7 too.
I've even managed to compile a version on cygwin with an additionally
patched module that allows for file upload progress tracking.
If anyone wants it, i can put it on github with a sample .conf file, but no
strings attached at all.
Cheer
On Mon, Jan 16, 2012 at 2:43 PM, Python_Junkie <
software.buy.des...@gmail.com> wrote:
> I guess I am digging in a lot deeper into this topic that I had
> intended, but your statement above
> about each developer compiling their own source code seems to go
> against the DRY
> principle.
>
The DR
https://docs.djangoproject.com/en/dev/ref/forms/fields/#choicefield
https://docs.djangoproject.com/en/dev/ref/forms/fields/#django.forms.MultipleChoiceField
Cheers,
AT
On Wed, Jan 18, 2012 at 12:42 PM, Jeff Heard wrote:
> I have a largish API I have to implement from a standard, and it requires
https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#url
# template.html
{% load url from future %}
{% url videos pk=video.pk %}
#
While we're at it, consider defining a more verbose name to the url, such
as 'video-detail'. I personally like t
at 3:51 PM, Andre Terra wrote:
> > https://docs.djangoproject.com/en/dev/ref/forms/fields/#choicefield
> >
> https://docs.djangoproject.com/en/dev/ref/forms/fields/#django.forms.MultipleChoiceField
> >
> >
>
> That is how I almost replied, but a MultipleChoiceFie
*** Everyone, please DO NOT reply to this thread. ***
Krondaj, feel free to search the archives for similar threads. This
question has been asked an answered at least a dozen times.
Cheers,
André Terra
On Thu, Jan 19, 2012 at 12:08 PM, Krondaj wrote:
> Hi,
>
> I was wondering what the best ID
the >>> indicates you are IN a python shell, which is different from your
OS prompt. Try exiting the shell first (with exit()) and then run "python
manage.py runserver" from a command prompt or terminal window.
Cheers,
AT
On Mon, Jan 23, 2012 at 4:11 PM, JJ Zolper wrote:
>
> >>> python manage.
Hello,
Unless you tell us what your app is supposed to be doing, there's very
little chance any of us can offer any real help.
Cheers,
AT
On Mon, Jan 23, 2012 at 5:47 PM, TINO THOMAS wrote:
> Hello,
>
> I have a Django setup on cpanel server with python 2.7, virtual env and
> mod_wsgi. I can
Hi,
I'm without a clue on how to get the sef.id when creating a new object
in Django. I've created a question in StackOverflow. Can someone give
me a clue on this subject?
Please read the question:
http://stackoverflow.com/questions/14234917/django-how-to-get-self-id-when-saving-a-new-object
Any
Hi all,
I'm struggling with Formsets. I've read the documentation and lots of
information on the web, but I'm experiencing some difficulties on get
them working.
I've wrote a StackOverflow question that explains my difficulties.
http://stackoverflow.com/questions/14280875/django-formsets-how-to-
I'd just like to emphasize that django-mptt is *the* way to go. It's one
great application that make it a breeze to work with hierarchies.
Cheers,
AT
On Fri, Jan 18, 2013 at 4:01 AM, Sammael wrote:
> Amirouche, thank you very much.
> jQuery solution is quite interesting but it's more complicat
Hi,
I need to develop a form to upload multiple files.
I was thinking in using an Ajax uploader. I have google some options
but there are to many and I don't know which one to choose.
Any recommendations about this subject?
Best Regards,
André.
--
You received this message because you are su
I posted this answer on SO and thought I should share it here for the
benefit of other and future readers:
--
The accepted answer is spot on about the regex, but since we're discussing
optimization, I thought I should note that
http://django-mssql.readthedocs.org/en/latest/
Cheers,
AT
On Thu, Jan 31, 2013 at 11:34 AM, wrote:
> is there any support for MS SQL ?
>
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop
I don't have any experience in interviews for developer positions, but I
have general job interview tips that you might like.
First, get to know your resumé. This is my #1 advice. Interviewers usually
want to know why you made your decisions. What was the reason behind
picking this or that school?
Please post traceback, settings.py, etc.
On Fri, Feb 8, 2013 at 5:18 AM, Some Developer wrote:
> I have a model for a Tag object with simply has two fields. A title (which
> has the unique constraint) and a description. I also have a FormView based
> view class which handles the creation of Tag o
Olá pessoal!
Olha, preciso que um foreign key seja acessível com o forms!
Tentei de algumas maneiras e não consegui! materiais também não tão
sucintos!
alguém pode me ajudar com essa questão?
Obrigado pela a atenção!
--
You received this message because you are subscribed to the Google Groups
"
201 - 300 of 593 matches
Mail list logo