django
Django. Authentication backends
I need to authenticate on some of atlassian services(wiki for example) and on AD(ActiveDirectory). The problem is I don\'t know how to make authentication in different back-ends so user input password[详细]
2023-04-13 09:42 分类:问答Trying to format returned _set
I am trying to populate my form with a list of plans. Here is my unicode for the Plans model def __unicode__(self):[详细]
2023-04-13 09:02 分类:问答Python access attributes of an enclosing class (not parent)
I have a simple problem, I\'m developing something for which I need to have some classes accessing some common variables like that:[详细]
2023-04-13 08:50 分类:问答Django_compressor error with Sass. Cannot @import files
I am trying to use Sass to compile a style.scss file with django_compressor. I have found that Sass works on the command line if I am in the css directory, but if I am in any other directory it produ[详细]
2023-04-13 08:44 分类:问答django/python: raw sql with multiple tables
I need to perform a raw sql on multiple tables. I then render the result set. For one table I would do:[详细]
2023-04-13 08:41 分类:问答Creating modelform fields for each object in a queryset
This question is similar to this: field choices() as queryset? For example if I have a really simple model:[详细]
2023-04-13 07:58 分类:问答Pass a variable ( a flag ) from urls.py to views.py in django
I currently have a \'blog\' app which will display blogposts by different users depending on the username. This is what my urls.py looks like.[详细]
2023-04-13 07:18 分类:问答How to escape {{ or }} in django template?
Django treats {{ var }} as some variable in i开发者_高级运维ts template. How can I escape {{ var }} or {{ or }} such that django does not treat it as variable.[详细]
2023-04-13 07:00 分类:问答Django- Get Current manage.py Command
I Want To Know How Can Get Current manage.py Command. For开发者_JAVA技巧 Example, When I syncdb In Shell, I Want To Get This Command Name.[详细]
2023-04-13 06:58 分类:问答Improve performance when importing data to MySQL?
I\'m using Django to build a website with a MySQL (MyISAM) backend. The database data is imported from a number of XML files that a开发者_C百科n external script process and output as a JSON-file. Wh[详细]
2023-04-13 06:51 分类:问答