On 26/06/2011 8:18am, Frederico Betting wrote:
Hi All
I am beginner in using django framework and I'm trying to do a project
with a different directory structure but it's not working and I don't
know what I am doing wrong.
Follow an example for what I am doing:
project
`-- core
|-- app1
heya,
We have a CSV file that we are importing into a Django application, and then
creating the appropriate models and relationships.
At the first page, we have a file upload form where the user selects a file.
We then parse the file, and return a second page showing them what would be
created
Some one please help
--
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/-/Vgrw_-xLcI0J.
To post to this group, send email to django-users@googlegroups.com.
To un
I found the error.
After reviewing my own post and realizing that I was getting the same
error regardless of the syntax that I was using, and only when I was
using a template, I realized where the solution was.
The settings.py The template directory was not set up.
It is all good now.
My bad
On
hello,
can anyone recommend a library or an application for video streaming
that can be used in a commercial site that requires good performance
and scalability? we expect the site to receive a lot of traffic. and
the main functionality is video on demand.
thank you
--
You received this message
On Sat, Jun 25, 2011 at 6:39 PM, Joe Linoff wrote:
> I am a newbie who is really enjoying Django. It is a great system and has
> really saved me a lot of time but I am having a problem trying to control
> the column order in a queryset.
>
> In SQL my queries would look something like this:
>
>
On Sat, Jun 25, 2011 at 5:54 PM, Python_Junkie <
software.buy.des...@gmail.com> wrote:
> I am just getting started with django. Have been a python developer
> for a number of years
>
> I am following the examples in the book The Definitive Guide to Django
> and the same error keeps popping up.
>
On Sat, Jun 25, 2011 at 4:35 PM, mark elion wrote:
> Hello guys. I am quite a beginner in using django and python. I have
> read through tutorial on the official website, and also separate
> topics on models, views, templates, urls, forms. So I have basic idea
> on how django works.
> I have choo
Hi Folks:
I am a newbie who is really enjoying Django. It is a great system and has
really saved me a lot of time but I am having a problem trying to control
the column order in a queryset.
In SQL my queries would look something like this:
-- column order #1
SELECT 'Third','Second'
I can get text inputs rendered fine by setting the widget to a
TextInput like so:
myrelation = ModelChoiceField(MyRelatedClass.objects.none(),
widget=TextInput)
But I still get ModelChoiceField validation errors on validate:
'Select a valid choice. That choice is not one of the available
choices
Im looking for some way to use the widget with a choice filed like admin
interface (+) to popup a window when clicked on it and popup should give the
way to add new data like the datas in the choice field.
on save the window to close and the choice field to get updated along with
that..
Pleas
Hi All
I am beginner in using django framework and I'm trying to do a project with
a different directory structure but it's not working and I don't know what I
am doing wrong.
Follow an example for what I am doing:
project
`-- core
|-- app1
| |-- __init__.py
| `-- models
|
I am just getting started with django. Have been a python developer
for a number of years
I am following the examples in the book The Definitive Guide to Django
and the same error keeps popping up.
"need more than 1 value to unpack"
I understand what it is trying to say, but I do not see where
Hello guys. I am quite a beginner in using django and python. I have
read through tutorial on the official website, and also separate
topics on models, views, templates, urls, forms. So I have basic idea
on how django works.
I have choosen the official djangoproject website from here
https://github
Being a newbie myself, I find this much more appealing.
I'm grateful this is being considered, having read ESR's version as well.
I'll also try to be very careful to follow these guidelines as I appreciate
the time everyone here takes to help people like me. Thanks a bunch!
On Thursday, June 2
On Sat, Jun 25, 2011 at 1:42 PM, CareerDhaba tech wrote:
> Hey,
>
> Thanks Karen for the reply. I have been trying many things on this form and
> trying to save both the models data using one form in a single instance. I
> did try the commit=False method too but it gave an error which i couldnt
>
> @Karen, I tried the patch, and it doesn't seem to help. Do you have
> any ideas when is the 1.3.X scheduled to be released?
>
> @Bruno, using nginx + WSGI + DJANGO is the setup.
If you mean mod_wsgi for nginx, i am not able to help you, but if you mean
nginx + uWSGI, you will probably only need
@Karen, I tried the patch, and it doesn't seem to help. Do you have
any ideas when is the 1.3.X scheduled to be released?
@Bruno, using nginx + WSGI + DJANGO is the setup.
-mehdi
On Jun 25, 8:56 am, bruno desthuilliers
wrote:
> On Jun 25, 10:27 am, mehdi ait oufkir wrote:
>
> > Thanks for the
Hey,
Thanks Karen for the reply. I have been trying many things on this form and
trying to save both the models data using one form in a single instance. I
did try the commit=False method too but it gave an error which i couldnt
figure out. Everytime i try doing something new an unknown error/exce
On Sat, Jun 25, 2011 at 1:00 PM, CareerDhaba tech wrote:
> The user model is getting saved with username and password but the
> userprofile isn;t :(
That is a somewhat misleading description of the problem since the code as
you have posted it would not just fail to save the userprofile it would
Whats the problem with this code ?
*models.py
*class userprofile(models.Model):
user = models.OneToOneField(User)
Firstname = models.CharField(max_length=20)
Middlename = models.CharField(max_length=20)
Surname = models.CharField(max_length=20)
Gender = models.CharField(max_le
Thanks Bruno so much.
I will take a look at the links you posted.
Thanks again,
sanket
On Jun 25, 8:50 am, bruno desthuilliers
wrote:
> On Jun 25, 9:47 am, sanket wrote:
>
> > Hi All,
>
> > I am quite new to Django and I am not able to figure out if I can have
> > database settings per applicat
I sort of knew that
Can someone post their scrubed conf file?
On Jun 25, 2011 12:54 AM, "Andrew Brookins" wrote:
> Sorry: posting from phones... Not always awesome.
>
> If the development server serves your static files, but Apache does not,
then the problem is likely somewhere in your Apache
Posting the same question twice under different titles won't help.
On Jun 25, 10:12 am, geonomos wrote:
> Hi,
> I'm new in django frameworck and I'm tring to develop a simple application.
> I've a free account in alwaysdata and I've follow instruction in
> "https://docs.djangoproject.com/en/dev/h
On Jun 25, 10:24 am, geonomos wrote:
> Hi,
> I'm new in django frameworck and I'm tring to develop a simple application.
> I've a free account in alwaysdata and I've follow instruction in
> "https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=...";
> but if I point with the browse
On Jun 25, 10:27 am, mehdi ait oufkir wrote:
> Thanks for the response Bruno.
>
> Your comment made me think I forgot to mention that the issue only
> happens in production when django is behind nginx.
Duh...
> I'm not sure how to run pdb in this context.
Don't know if you can (no experience wi
On Jun 25, 9:47 am, sanket wrote:
> Hi All,
>
> I am quite new to Django and I am not able to figure out if I can have
> database settings per application in a single django project.
https://docs.djangoproject.com/en/1.3/topics/db/multi-db/
> I am
> planning to use Django for my next project and
On Sat, Jun 25, 2011 at 4:27 AM, mehdi ait oufkir wrote:
> Thanks for the response Bruno.
>
> Your comment made me think I forgot to mention that the issue only
> happens in production when django is behind nginx.
> I'm not sure how to run pdb in this context.
> Any ideas where else to look?
>
I'
On Sat, Jun 25, 2011 at 8:17 PM, Venkatraman S wrote:
>
>
> On Sat, Jun 25, 2011 at 7:56 PM, Matthias Kestenholz wrote:
>
>> You might want to have a look at form_designer:
>>
>> https://github.com/matthiask/form_designer
>>
>> It contains a FeinCMS content type (form_designer.models.FormContent)
On Sat, Jun 25, 2011 at 7:56 PM, Matthias Kestenholz wrote:
> You might want to have a look at form_designer:
>
> https://github.com/matthiask/form_designer
>
> It contains a FeinCMS content type (form_designer.models.FormContent),
> the rest of it isn't FeinCMS-specific. A FeinCMS installation i
On Sat, Jun 25, 2011 at 3:00 PM, Venkatraman S wrote:
> Hi,
>
> Was looking for possible django apps that help one build custom forms "on
> the fly" from the admin screens.
>
You might want to have a look at form_designer:
https://github.com/matthiask/form_designer
It contains a FeinCMS content
Hi,
I'm new in django frameworck and I'm tring to develop a simple application.
I've a free account in alwaysdata and I've follow instruction in
"https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=olddocs#running-django-on-a-shared-hosting-provider-with-apache";
but if I point
Hi,
I'm new in django frameworck and I'm tring to develop a simple application.
I've a free account in alwaysdata and I've follow instruction in
"https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=olddocs#running-django-on-a-shared-hosting-provider-with-apache";
but if I point
Hi All,
I am quite new to Django and I am not able to figure out if I can have
database settings per application in a single django project. I am
planning to use Django for my next project and I am in a need of using
MongoDB just for one app and MySQL for the other parts of the project.
I know, it
Hi,
Was looking for possible django apps that help one build custom forms "on
the fly" from the admin screens.
Venkat
--
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 unsubs
Thanks for the response Bruno.
Your comment made me think I forgot to mention that the issue only
happens in production when django is behind nginx.
I'm not sure how to run pdb in this context.
Any ideas where else to look?
-mehdi
On Jun 24, 11:37 am, bruno desthuilliers
wrote:
> On Jun 24, 7:19
36 matches
Mail list logo