Hello everyone...
I'm using django-smart-selects for my dependent selects, you know, like if
you choose a Country only the cities from that country have to come up in
the second select. And it's working great, but now we've faced a problem..
We want to add search functionality to the selects, we
I'm building a project where we need to have a hierarchical system of Users.
The gist of it is this, there needs to be way to create Companies with
permission groups within them. How would you implement this?
For example:
Company: Foo has admins, managers and users
Company Bar has admins, manag
Hey folks,
Tim thankfully merged my patch and backported it to 1.7. You could check
out Django's stable/1.7.x branch to see if that solves your problem.
/Markus
On Thursday, December 11, 2014 2:21:41 PM UTC+1, Torsten Bronger wrote:
>
> Hallöchen!
>
> Markus Holtermann writes:
>
> > It looks
Thanks Collin, I looked at raw field ids, but feels too basic. I'm
attempting to implement autocomplete_light which seems to offer m2m
selection.
IT would seem that this would be a common problem: select from a large list
without displaying that entire list.
filter_horizontal would work if
While your form_invalid method is looking for reference_form as a
parameter, the post method by default passes the form from
get_form(form_class). I would recommend overriding post to pass both form
and reference form to form_invalid and form_valid.
Best of luck, Dan
--
You received this mes
Sugita,
Django does work with MS SQL Server, but not as well as with
other DBs. I have to use it because I'm interacting with on old
legacy DB, but I'm gradually migrating everything to MySQL.
To connect to MS SQL Server, from Mac, Linux and Windows,
I use the following settings:
#
Hi,
I agree excluding it from the form is the way to go and setting it in one
of the save_* methods.
But, couldn't you also do _both_ of your methods :)
Collin
On Wednesday, December 10, 2014 3:38:48 AM UTC-5, Akshay Mukadam wrote:
>
> Hi,
> I just want to show the current logged in user in fo
Hi,
Check out raw_id_fields if you haven't.
Either on ArticleAdmin:
raw_id_fields = ['categories']
Or as an inline:
class CategoryInline(models.TabularInline):
model = Article.categories.through
extra = 0
raw_id_fields = ['category']
Collin
On Wednesday, December 10, 2014 2:32:20 A
Thanks. I've spent hours on this silly typo.
On Thursday, December 11, 2014 9:53:12 AM UTC-5, François Schiettecatte
wrote:
> PASSSWORD => PASSWORD
>
>
> > On Dec 11, 2014, at 9:26 AM, dennis breland > wrote:
> >
> > Please help with this problem...
> >
> >
> > I am getting an access de
PASSSWORD => PASSWORD
> On Dec 11, 2014, at 9:26 AM, dennis breland wrote:
>
> Please help with this problem...
>
>
> I am getting an access denied error when running Django; details follow:
> Currently installed versions:
> Python 2.7.3
> MySQL-python package 1.2.3
>
Please help with this problem...
I am getting an access denied error when running Django; details follow:
Currently installed versions:
Python 2.7.3
MySQL-python package 1.2.3
Django 1.7
I previously used the Django tutorial and successfully used the polling
app
The web server uses less resources serving static, than django, so the
responsibility for serving static content is often left to the web server.
You should look at the settings.py file for other potential paths as well.
Look in the settings.py for other potential issues.
There is the potential
> Den 11/12/2014 kl. 13.13 skrev edalb1979 :
>
> Good day.
>
> I have been requested to move a site for someone from there current hosting
> company to our hosting company.
>
> I have gotten so far that the site is up and running but none of the
> stylesheets or images are showing up.
> I hav
Hallöchen!
Markus Holtermann writes:
> It looks like you ran into the bug reported as
> https://code.djangoproject.com/ticket/23956 . See my comment #6
> for a workaround.
Thank you for the pointer, this is it indeed. I commented there.
Regards,
Torsten.
--
Torsten BrongerJabber ID: tors
Good day.
I have been requested to move a site for someone from there current hosting
company to our hosting company.
I have gotten so far that the site is up and running but none of the
stylesheets or images are showing up.
I have had a look at the source code of the site and I do see that it
Can you provide a small example of the code? This section may also answer
your question:
https://docs.djangoproject.com/en/1.7/topics/db/models/#multiple-inheritance
- James
On Dec 11, 2014 2:01 AM, "Torsten Bronger"
wrote:
> Hallöchen!
>
> Is it correct that when using multi-table inheritance,
> Den 10/12/2014 kl. 17.55 skrev pythonista :
> 1. Can Django be made hardened via ssl?
"Django" is actually your WSGI server (gunicorn, uwsgi etc.).
> 2. Doesn't Apache and the Proxy server provide sufficient security so that
> ssl / django is not required?
Apache *is* the proxy server in this
Hey Torsten,
It looks like you ran into the bug reported as
https://code.djangoproject.com/ticket/23956 . See my comment #6 for a
workaround.
/Markus
On Thursday, December 11, 2014 11:01:51 AM UTC+1, Torsten Bronger wrote:
>
> Hallöchen!
>
> Is it correct that when using multi-table inheritan
Hallöchen!
Is it correct that when using multi-table inheritance, I must not
set an explicit primary key in the derived model class? Currently,
I get
...
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py",
line 65, in execute
return self.cursor.execute(sql, params
I use SQL Server Japanese edition.
So, I also wrote Japanese error message here.
django.db.utils.ProgrammingError: ('42000', '[42000] [Microsoft][ODBC SQL
Server Driver][SQL Server]このログインで要求されたデータベース "db_test"
を開けません。ログインに失敗しました。 (4060) (SQLDriverConnect);
[01S00] [Microsoft][ODBC SQL Server Dri
20 matches
Mail list logo