Perhaps you could post about your results. I tried this, in setting
up a deployment server, and ran into roadblocks (which I did not
document) so I switched to sqlite. The latter comes with the python
on snow-leopard, and the only issues I had were with permissions; I
had to make the database AN
Thanks for posting this. You are right -- OSX is not an easy platform
for development, because apple has nothing akin to apt-get. (Why they
have not done this, I cannot guess. Surely it cannot be because
people find macports and fink to be reliable and useful.)
A couple of points:
1. I found t
I have an application in which I'd like to present a form whose
elements are stored in a database. To be specific, the database
contains a series of questions that I'd like to ask the user, via
radio buttons.
I can't do e.g.
class thingee(forms.Form):
q1 = forms.BooleanField()
The suggestions provided in the replies have all been very helpful to
me. I appreciate the help greatly, and I suspect that others coming
across this thread on google-groups will find the advice helpful, as
well.
I ended up doing as follows in my forms.py, and it works nicely for
me.
class
I agree with Dave. Since we're on the anecdote topic, I'll explain
with my own.
Ignoring a bit of time with VMS, I have been a *nix user since the
1980s. My path has been from BSD to solaris to linux to osx. A
pleasure in moving from solaris to linux, was the tools for bulding/
install software
Is there any working django 1.4 file backend for MogileFS?
I've tried django-storages but it doesn't seem to work properly (stores a
filename instead of content!?) and it does not implement open() method on
stored file.
--
You received this message because you are subscribed to the Google Grou
If somebody search for mogilefs django backend, I've ended up with writing
my own:
https://github.com/cypreess/django-mogilefs-storage
it uses internally pymogile client.
On Sunday, November 11, 2012 10:23:57 PM UTC+1, DK wrote:
>
> Is there any working django 1.4 file backend f
What is a proper way to handle formsets with new class based views?
Should I use standard forms views like CreateView, I did not saw any
views dedicated to handle formsets.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
Fantastic piece of work. I will try to dive into.
DK
On May 11, 8:02 pm, Iván Raskovsky wrote:
> On Wed, May 11, 2011 at 1:29 PM, DK wrote:
> > What is a proper way to handle formsets with new class based views?
> > Should I use standard forms views like CreateView, I did not sa
Hi,
I am having a django project that is being frequently deployed on clean
linux installation. After a few deployments I have noticed that this process
is very time consuming for me (every time I am preparing run scripts for
everything, configuring cronjobs, paths to log files, etc) but this
What is your optimal filesystem folder scheme?
I've used to keep everything in one directory (project-enviroment, that was
itself a virtualenv directory) and then put everything there, but now I am
finding hard to manage this as it became a little mess. Now I think about
something like:
/
h
100% south migration :)
--
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 option
Hi,
I need to develop several django projects (let's assume that there are
highly different one from each other). The common thing is users/groups
data. If a user register into one of this sites, he should be able to use
this same account credentials for all other sites.
I really didn't find a
On Thursday, June 16, 2011 2:38:52 PM UTC+2, SleepyCal wrote:
>
>
> Having a central authorization point is the way forward. I'm a bit confused
> by this comment though:
>
> "But this still do not solve problem of NOT having multiple accounts in
> several django projects"
>
> Could you explain
i do have a list of list like this
[ [apple, banana, red] , [orange, grape, blue] , [watermelon, tangerine,
purple] ]
then i am passing it to the template like
return render(request, "show_table.html", {"lista": lista})
inside my template html i have
{% for i in lista %}
:
> If you have a fixed number of items in each of the sublists you can do
>
> {{ i.0 }} # First element
> {{ i.1 }} # Second element
>
> or you can iterate over it
>
> {% for sub_element in i %}
> {{ sub_element }}
> {% endfor %}
>
> On Thu, Feb 12, 2015 at 2:
this is my template
I do have this address
http://127.0.0.1:8000/mes/show_table/
and show a table where the second colum is a link to somewhere else, the
problem is when I click it lunch me to
http://127.0.0.1:8000/mes/show_table/clickedLinkand doesn't work.
as an example if one of my links
wrote:
> How's the hyperlink saved in the column? If it's a relative one this is
> what is going to happen, to change that you need an absolute link, i.e:
> http://google.com
> On Fri 13 Feb 2015 at 23:40 dk > wrote:
>
>> this is my template
>> I do have this ad
On Fri, Feb 13, 2015 at 8:03 PM, dk >
> wrote:
>
>> its just a string with an ip address and that's it.
>>
>> {{ j }}
>> so at the end should be something like
>> 11.111.11.
>>
>> instead I get the hole path of my url + /11.111.
I am using matplotlib.pyplot to generate a plot image, put it in a temp
folder,
and then use that to populate a webpage.
the problem is:
1) always display the same image, I all ready deleted the image before
creating the new one,
I also set pyplot .close() to close all my figures.
2) some t
; you generate an new image.
>
> Collin
>
> On Thursday, February 19, 2015 at 4:26:16 PM UTC-5, dk wrote:
>>
>> I am using matplotlib.pyplot to generate a plot image, put it in a temp
>> folder,
>> and then use that to populate a webpage.
>>
>> th
I got a virtual machine with Linux centos that we are going to use for our
django webpage.
that machine will have the html service on. so when people go to the
computer typing the IP, will show them the webpage. is there any special
trick to do? like make a service that lunch manage.py with th
its just a website with one link =)
basicly shows one graph. and that's it.
On Tuesday, February 24, 2015 at 3:41:14 PM UTC-6, george wrote:
> not production i hope.
>
> in prod use nginx. if not on prod use runserver 0.0.0.0:8000
> Em 24/02/2015 18:37, "dk" >
e's more than one person using it your site will only grow. The
> Django web server is meant for debugging, not production.
> Go the extra step and setup ngnix or another simple http server. You will
> thank yourself later.
>
>
> El martes, 24 de febrero de 2015, 14:
have good tutorials on setting up a production deployment of Django on a
> virtual private server.
>
> On Wed, Feb 25, 2015 at 11:29 AM, Rodrigo Zayit > wrote:
>
>> anywhere
>>
>>
>> Atenciosamente,
>> Rodrigo de Oliveira
>>
>> On Wed, Feb
looks like centos7 doesn't have or need that,
it comes with a folder call conf.d
and if the .conf file I inside this folder, is like if was activate it. =)
On Wednesday, February 25, 2015 at 1:01:57 PM UTC-6, Blazor wrote:
> thanks I am watching
>> https://www.youtube.com/watch?v=hBMVVruB
since I couldn't get my webpage to display I started from the basic, trying
to debug and go step by step, so I am trying to see if I can get mod_wsgi
to work,
https://wiki.archlinux.org/index.php/Mod_wsgi
and this is the tutorial that I am following,
but when I go to check the website and see
found the reason!!!
is not the permission is the group
doing this to the folder put into the user and group that apache can read.
chown -R apache:apache myfolder
from here
http://stackoverflow.com/questions/21498904/forbidden-you-dont-have-permission-to-access-on-this-server-centos-6-laravel
jus
I will be populating a table with information of computers and I would like
to display an icon in front of each line of the table. might change
depending of the machine, should I let the view handle that with and if
then and later on use static to resolve the file path?
or should I make that if
something like
[ [path/to/icon, machine1], [path/to/icon, machine2], [path/to/icon,
machine3] ]
or make and if then in the loop of the template and get the icons from
there?
On Tuesday, March 3, 2015 at 12:43:15 PM UTC-6, felix wrote:
> El 03/03/15 13:17, dk escribió:
>
> I will be pop
I didn't thing to put them as classes LOL.
thanks!
On Tuesday, March 3, 2015 at 3:17:58 PM UTC-6, felix wrote:
> El 03/03/15 13:54, dk escribió:
>
> right now I am not using models, form the database, as concept I am
> pinging the computer, and making a list of lists w
i am using matplotlib to generate a plot/graph, even do that python is
generating the file and saving it so I can use it later on in my web page,
django show the page before the process finish,
so I decided to put a time.sleep(3) so it wait 3 sec while all this
happen, but doesn't respect tha
I been trying to find information on how to make a button to run a python
script in the back.
I do have a table with some buttons, and I want to click in one, and
behind doors, will run a python script.
since I don't know to much javascript or flask, or php I decided to make a
link (later on I
UHH redirect sounds easy.. yami yami.
Felix how does the ajax works? I am assuming is a library of javascripts?
and ajax can lunch the python code?
On Tuesday, March 10, 2015 at 1:48:56 PM UTC-5, Daniel Roseman wrote:
> On Tuesday, 10 March 2015 17:11:16 UTC, dk wrote:
>
i have 2 tables, 1 table contain the fields for name, email,
and I did another table with file, and date.
and I am trying to populate the 2 tables when a user submit the form.
I follow this amazing tutorial
https://amatellanes.wordpress.com/2013/11/05/dropzonejs-django-how-to-build-a-file-uplo
I am trying to create an autocomplete tag with jquery UI
http://jqueryui.com/autocomplete/
in my view I got a list of commands, in the meant time I am just testing
it, so I have a list with ["a", "aaa", "b", "bbb"]
$(function() {
var avaibleTags = [
{% for i in list_commands %}
AHHH!!!...
that make scenes that the java script did work when I did it manually. I
haven't use json files before, so I am not sure how to manage that, I will
look around for more information on that.
On Friday, March 20, 2015 at 4:59:30 PM UTC-5, dk wrote:
> I am trying to c
hi, I have a button in my webpage that lunch a subprocess and check the
ping of the computer and save the information in a text file. that's it,
very basic stuff.
If I am doing my click in the server computer everything works,
the subprocess will ping the computer, make the file and save the
playing a littlie bit more, I found out that does work if I am using the
manage.py runserver.
but doesn't work using the production django =(.
On Monday, March 30, 2015 at 5:53:59 PM UTC-5, dk wrote:
> hi, I have a button in my webpage that lunch a subprocess and check the
>
I have a option section in my webpage just display the names of some
machines
doing this tutorial I was able to get all the lines that appear in the
"option" tag of my html.
http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_select_options
and I can get a big string that I can separate b
ocess(es)
> does not have "ping" on the executables path...
>
> HTH
>
> Jirka
> ------
> *From: * dk >
> *Sender: * django...@googlegroups.com
> *Date: *Tue, 31 Mar 2015 08:12:03 -0700 (PDT)
> *To: *>
> *ReplyTo: * django
read
> Django Forms tutorial: https://docs.djangoproject.com/en/1.8/topics/forms/
>
>
>
> On Thursday, April 2, 2015 at 9:35:39 PM UTC+3, dk wrote:
>>
>> I have a option section in my webpage just display the names of some
>> machines
>>
>> doin
in my settings
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = "/media/"
my view to accept files.
def request_page(request):
#todo since sqlite my get stuck between 2 submittion at the same time,
# submit, if it cant try again and then message that ask the user to try
in 5 mins.
tr
maybe I need to simplify my question.
how do I use media_url in windows?
On Wednesday, April 8, 2015 at 10:56:27 AM UTC-5, dk wrote:
> in my settings
> MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
> MEDIA_URL = "/media/"
>
>
> my view to ac
we decided to test django 1.8, using python manage.py runserver works
great. but now the production wsgi stop working,
I remember there was a change between version 1.6 and 1.7.
this is my code. Did it something change?
import os
import sys
sys.path.append("/code/projects/my_web")
sys.path
a
>
> On Mon, Apr 27, 2015 at 10:23 PM, dk >
> wrote:
>
>> we decided to test django 1.8, using python manage.py runserver works
>> great. but now the production wsgi stop working,
>> I remember there was a change between version 1.6 and 1.7.
>> th
│ ├── templates
│ │ ├── main_page.html
│ │ └── main_template.html
│ └── wsgi
│ ├── idrac.wsgi (here is the wsgi)
│ ├── __init__.py
│ └── readme.txt
└── __init__.py
On Tuesday, April 28, 2015 at 10:41:25 AM UTC-5, dk wrote:
>
> I check the apache httpd log and do ge
I check the apache httpd log and do get this
[Tue Apr 28 10:33:49.982311 2015] [:error] [pid 18060] [client
10.35.0.91:61408] from django.apps import apps
[Tue Apr 28 10:33:49.982336 2015] [:error] [pid 18060] [client
10.35.0.91:61408] ImportError: No module named apps
[Tue Apr 28 10:33:5
i have a regular form in the template. the user and the password since
the web designer did it like that.
can I still use it in django view?
any particular way that's need to be use? or we need to change it to use
django forms?
=)
--
You received this message because you are subscribed to
I did a form class and renders fine in the html.
but look ugly, I do have another field directly done directly in the HTML
with a style like this and look pretty how can I put it to the form?
can I override the "style"? or can I change the class? so I can change the
look? thanks guys.
.text_li
to do it:
> https://docs.djangoproject.com/en/1.8/ref/forms/widgets/
>
> You can of course override the style as well, for example using the
> rendered id of your field, but it is less cleaner, since you will need to
> repeat this for every field
>
> On Thursday, May 21, 2015
0 술욱 >:
>
>> Hi,
>>
>> just make sure you match your input names with what Django expects. For
>> example:
>>
>> If the HTML is your Form will need a "username"
>> field.
>>
>> HTH,
>> Norberto
>>
>> 2015-05-
I am creating a string inside the view that will be use in the template on
the javascript.
my string in python contains & and I print the view and works fine, but
when is send to the template I don get &.
is there something magical about & ? or any hint on how to make it
work? thanks guy
I fixed doing this
{% autoescape off %}
{{ my_var_with_& }}
{% endautoescape%}
now works fine.
On Thursday, May 21, 2015 at 11:53:07 AM UTC-5, Andréas Kühne wrote:
>
> 2015-05-21 18:35 GMT+02:00 dk >:
>
>> I am creating a string inside the view that will be use in t
as used form.as_p for printing as , but you could used
> form.as_ul or form.as_table too. By default as_table is set when you do
> {{form}}
>
>
>
> El jueves, 21 de mayo de 2015, dk >
> escribió:
> > Thanks Galia, since I only have 2 fields, I think the second opti
y model, only need to create a form class
> (better) or using request.POST.get("username").
>
> If you want to do in right way
> See
> https://docs.djangoproject.com/en/1.8/topics/forms/
>
>
> El jueves, 21 de mayo de 2015, dk >
> escribió:
> > I
I am doing something like this.
http://stackoverflow.com/questions/4808329/can-i-call-a-view-from-within-another-view
I have my original view that actually gets render as html.
the html have a button that runs another view. with all the logic to
process the information. and at the end I want to r
in the second view I am doing at the end.
return original_view(request, message="successfully")
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users
can I redirect with an argument?
On Friday, May 29, 2015 at 1:00:07 PM UTC-5, Daniel Roseman wrote:
>
> Why should it? The browser requested the original view, and the code
> returned a response to that request. The browser doesn't know or care that
> the process of constructing that response in
so that redirect needs to be catch by the url, interesting.
On Friday, May 29, 2015 at 1:22:40 PM UTC-5, Daniel Roseman wrote:
>
> You can redirect with whatever arguments you want, as long as the
> receiving URL accepts them.
--
You received this message because you are subscribed to the Goo
I created a website that can reboot a machine. basically subprocess a
script that lunch the reboot command in Linux.
after that I need to run some other operations. after that I wait 1 minute
before start pinging the machine to see if its back online.
the funny thing my script doesn't work, and
this is what I got from putting
*time.sleep(60)*
*print "sleeped for 60secs"*
*print 6*
directly in the view.
and this is what the httpd log gave me.
*[Fri Jun 05 11:31:02.034913 2015] [mpm_prefork:notice] [pid 33231]
AH00170: caught SIGWINCH, shutting down gracefully[Fri Jun 05
1
some one put in contab -e
** * * * * systemctl resetart httpd*
means that every minute the apache server is restarting and killing
everything. that's why non of the script where working =(
now that I commented that line from cron tab its working =).
--
You received this message b
{% csrf_token %}
{{ form }}
I expected since the form its first than the input type submit, I should
get my form, and below the button right?
but instead I get the button on the top, and then the form. I am missing
something?
--
You received this message because you a
I found that if the form is inside a table. then it acts funky =(
On Wednesday, June 24, 2015 at 2:12:23 PM UTC-5, dk wrote:
>
> {% csrf_token %}
> {{ form }}
>
>
>
> I expected since the form its first than the input type submit, I
> shoul
found the answer,
if its inside a table does the funcky thing... if its pass as_p works
fine.
{{ form.as_p }} did the trick =)
sorry for all the posts
On Wednesday, June 24, 2015 at 3:23:32 PM UTC-5, dk wrote:
> I found that if the form is inside a table. then it acts fu
as my understanding SQLite will only let you do one transaction at the
time. and cant handle big volume of inputs at once.
is great and easy since comes already as part of python if you are doing
something for your local team. like a bug report or something that you know
that not every one wil
i made a from
lista = (("1","one"), ("2", "two"))
pending = forms.ChoiceField(widget=forms.SelectMultiple, choices=lista)
I do get it as post method.
I do get true with is_valid()
it renders properly in the website.
but when I press the submit button.
and I am printing the form.cleaned_data[
i might simplify lol i didnt even understand.
after i validate and clean a ChoiceField how do i us it?
does it return a directory saying whats selected?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
i did the django tutorial and to get a better grasp i decided to make a
webpage. with 2 sections
section 1
every day will let the user vote for a restaurant before 4pm
section 2
from the restaurant with more votes will display the menu of the
restaurant and each user can chose what they want
Thursday, September 18, 2014 5:17:17 PM UTC-5, dk wrote:
> i did the django tutorial and to get a better grasp i decided to make a
> webpage. with 2 sections
>
> section 1
> every day will let the user vote for a restaurant before 4pm
>
> section 2
> from the restaurant with
class Person(models.Model):
name = models.CharField(max_length=100)
email = models.EmailField()
def __str__(self):
return self.name
class Restaurant(models.Model):
name = models.CharField(max_length=100)
adress = models.CharField(max_length=200)
def __str__(sel
my application named polls
in polls/views.py
i have:
*from django.http import HttpResponseimport datetime*
*def hello(request):now = datetime.datetime.now()html =
"It is now %s." % nowreturn
HttpResponse(html)*
my project call restaurants
restaurants/urls.py:
*from django.con
>
> here is my project in a rar.
>>
>
dont know if might be something with django 1.7
thanks =)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+u
>
> thanks now when i go to the website
>
http://127.0.0.1:8000/hello/ does work, so the include work for
including the urls file inside the applications?
and if i go to
http://127.0.0.1:8000/
i get the 404 error
Page not found (404)Request Method:GETRequest URL:http://127.0.0.1:8000/
*i am trying to query base on the id of the table and i get a big error,
when i do it using .all() i can get the objects*
*>>> Restaurant.objects.all()*
[, , , ]
this works for looping and getting the information such
for i in Restaurant.objects.all():
print i.id
print i.name
1
angr
yes,that did the trick, odd that on .all does work fine, i wish the error
was more descriptive.
On Friday, October 3, 2014 7:52:40 AM UTC-5, Collin Anderson wrote:
>
> You need to call django.setup().
>
> I can confirm, though, that using Model.objects.all() somehow sometimes
> seems to work wi
I am using 1.7
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googl
Ah nice trick, store the variables into the url and then pass the url
with some regular expression.
=)
def vote(request):
if request.method == "POST":
form = polls.forms_DK.NameForm(request.POST)
if form.is_valid():
*your_email **= form.cleaned_data["your_e
I put the Email that I got from a form into the url (I am using the url as
a variable to store the email)
and look like this
http://127.0.0.1:8000/polls/vote/thank/a...@b.com/
url:
url(r'^vote/thank/(? #here should be RE catching the email
)$', views.thank),
view:
def thank(request, your_
WOW SUPER EASY
I been fighting to the get the email and passing it
thanks for the tips, and how to use it.
my url
url(r'^vote/thank/$', views.thank),
my views
def vote(request):
if request.method == "POST":
form = polls.forms_DK.NameForm(request.POST)
if form.is_valid(
I am storing the information in the database like this.
class Choice(models.Model):
restaurant = models.ForeignKey(Restaurant)
person = models.ForeignKey(Person)
date = models.DateField("time published")
time = models.TimeField("date published")
that way I can get the person and
I have this 2 models
class Choice(models.Model):
restaurant = models.ForeignKey(Restaurant)
person = models.ForeignKey(Person)
date = models.DateField("time published")
time = models.TimeField("date published")
class Person(models.Model):
name = models.CharField(max_length=100
I will give a try, how does django know that have to join using double
filter? or it just auto-magically knows behind the hood?
or filtering by another model/class django get the idea, and joins the
tables?
Thanks Tom =)
--
You received this message because you are subscribed to the Google
uld do it manually by counting occurrences or you could take a
> look at aggregation functions here:
> https://docs.djangoproject.com/en/1.7/topics/db/aggregation/
>
> Do as it suits your use case.
>
> HTH
>
> Jirka
>
> On 13 October 2014 06:30, dk > wrote
looks like it works like this
the_max = Choice.objects.filter(date=date)
print max(the_max)
On Monday, October 13, 2014 6:14:28 PM UTC-5, dk wrote:
> I need to learn how to use aggregation in django, I was thinking on
> filter by date,
> and then loop the query and make a dictio
I have a form, and I want to put the email and then get some ratio buttons
with the information of dishes from a restaurant.
I want to pass the restaurant id to the form, and let the form init get all
the information and spit out the form for rendering in the httml,the
email form that is not
thanks Carl, that was extremely clear, step by step.
took me a little bit to get the self.fields, since I was trying to
override directly as ratiooo.choices.
and I move the django.setup() to the top of the file after the imports
(meantime). not sure what it does, I know that just need to be
ok that max(the_max) didn't work every time it provide a different result
(looking into this) just updating the post in case someone was looking into
this as a solution.
On Thursday, October 16, 2014 12:21:33 AM UTC-5, dk wrote:
>
> looks like it works like this
will be better to hit your head vs the wall now using 1.9,
than later in a real project,plus there is not much difference, they
added a couple of things, but mostly is the same, I would do the Django
tutorial of Django website before, step by step.
On Thursday, May 12, 2016 at 8:55:15 AM
or what would be the best way to "print" the path for static?
On Thursday, May 12, 2016 at 5:03:45 PM UTC-7, dk wrote:
> I am starting with Django 1.9 and it say that we can have static files
> outside the apps, just for generics for the hole project or inside the
>
add this to the settings.
STATICFILES_DIRS = (
os.path.join(BASE_DIR, "static"),
)
http://www.effectivedjango.com/tutorial/static.html
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
this is the URS i get
http://127.0.0.1:8000/my_app/run_delete/?user_del=ccc_ccc***a_b***/
and i want to be able to get the string *ccc_ccc***a_b
my url pattern is:
url(r'^run_delete/(?P\w+)/$', views.run_delete, name='run_delete')
but it looks like is not catching it, i am missing so
i was looking for something like this
https://docs.djangoproject.com/en/1.9/ref/urls/#django.conf.urls.url
http://stackoverflow.com/questions/15644809/django-url-patterns
the tutorial use d for getting the number of the years, =( i am
skipping a step?
--
You received this message because
ttp://127.0.0.1:8000/my_app/run_delete/?user_del=ccc_ccc***a_b***/>
>
> No need to pass it as an query parameter.
>
>
>
>
> On Tuesday, 31 May 2016 15:03:59 UTC+5:30, dk wrote:
>>
>> this is the URS i get
>>
>> http://127.0.0.1:8000/my_app/run_delete/?user_de
I set up a form to upload files, and every thing works fine, the only
problem is when I am in the webpage and I click the button to choose the
file I want to upload doesn't show or zips, or rars. I try playing with
the input tag accept, from all the type of zips, to leave it open to
upload
FYI,
it works if the zip or the rar files were generated in windows,
not if they come from Linux =(...
On Tuesday, September 29, 2015 at 1:41:27 PM UTC-5, dk wrote:
> I set up a form to upload files, and every thing works fine, the only
> problem is when I am in the webpage and I
Hello all,
I want to have an application settings modifying the project settings but
it doesn't seems to work.
For development purpose I need to authenticate users against my application
database. In Production
the authentication is done by Apache, it then sends the REMOTE_USER,
correctly.
To
I don't really want the settings to be adjusted at runtime, I would like my
application to reset some django "core" settings like the
MIDDLEWARE_CLASSES during the project configuration, once for all.
It is just to ease the deployment of the project and because the
applications knows which sett
Hello,
I used django login() in some code and it worked now in current server.
Odd enough that in new server (migrated), the login session gone when i check
with @login_required. Keep asking to login.
The server have the same apache config with old server. Please help. Thank you
--
You receiv
1 - 100 of 101 matches
Mail list logo