as
>
> mysite/
> ...
> mysite/
> __init__.py
> ...
>
> in this __init__.py, you may have
> class Example(object):
> ...
> ...
>
> this is OK either ;)
>
>
> - Serdar Dalgıç <s...@serdardalgic.org >
> FLOSS Developer, Life & N
Hi everyone,
When I execute
python manage.py runserver
it appers:
ImportError: cannot import name 'example' from 'exsite'
The relative code in the settings.py file is:
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Hi everyone,
When I execute the command:
python manage.py runserver &
The response is:
Traceback (most recent call last):
File "../manage.py", line 10, in
execute_from_command_line(sys.argv)
File
"/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line
385, in
Hi, i need sum inlines field but i no have idea
example for more clean, i have 2 models
in models.py i have:
class ModelA(models.Model):
field1 = charfield(...)
field2 = integeterfield()
.
CHOICE_TYPE = ((1,"option1"),(2,"option2"),(3,"option3"))
class ModelB(models.Model):
+Collin Thank this is working perfects :)
Cheers
On Thu, Oct 16, 2014 at 3:31 PM, Collin Anderson
wrote:
> Hi,
>
> Would this work?
>
> ModelA.objects.filter(id=self.fk_name_id).update(field_count=F('field_count')
> + 1)
>
> Collin
>
> --
> You received this message
ct.field_count = F('field_count') + 1
>
> Other than that, there are a few weird things about the code, for example:
>
> product = ModelA.objects.get(id=self.fk_name.id)
>
> Why not just use
>
> product = self.fk_name ?
>
> On Thu, Oct 16, 2014 at 5:09 PM, carlo
Hi, i need update a fields the other model i have FK relation
ok this is my code
ModelA(models.Model):
name=charfield(...)
field_count = integerfield()
.
ModelB(models.Model):
fk_name = FK(ModelA, related_name='models_a')
# other fields
def save(self, *args,
Hi, you see the full example in docs
https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#a-full-example
Cheers
On Wed, Oct 15, 2014 at 2:52 AM, monoBOT wrote:
> You can implement an alternative authentication backend like so:
>
> *on your settings:*
>
>
i thing this good places for learn django
http://gettingstartedwithdjango.com/
Cheers
On Mon, Oct 6, 2014 at 8:29 AM, Julo wrote:
> Godjango.com !!
> Really cool videos!
> --
> *From: * rishabh yadav
> *Sender: *
Collin thank so much really help me!
Cheers
On Sat, Oct 4, 2014 at 11:09 AM, Collin Anderson
wrote:
> If you change how your dictionary is formatted, it can be much easier:
> dicc_one = {
> 'string1': {'fieldsFK__total_one__gt': 0},
> 'string2':
great, now it is working.
but i have still a question, why the position in the installed_apps does
not affect the migrate command and affect the runserver command ?
thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
Hello, why not is possible override the command runserver.py in my custom
app in Django 1.7, like this
# encoding: utf-8
from django.conf import settings
from django.core.management.base import CommandError, BaseCommand
# from django.contrib.staticfiles.management.commands.runserver import
Hi i need have this in my views! but not working
dicc_one = {'string1': 'fieldsFK__total_one__gt=0',
'string2': 'fieldsFK__total_two__gt=0',
'string3': 'fieldsFK__total_three__gt=0',
'string4': 'fieldsFK__total_four__gt=0',
}
something?
TIA,
Carlos.
--
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 dj
Hi, ok my questions is how to create a data migration, populating the FK
data??.
my old data no have fk only content_type and object_id for my relations
with
my class ModelMain,
if fk = object_id?? or content_type?
thank
On Mon, Sep 29, 2014 at 6:23 AM, Tom Christie
Hi, is posible to change GenericForeingnKey to ForeignKey without losing
data?
any link to explain the trick?
I have an old application with GFK but now I want to FK moment but I will
not lose data
this is example my models old and below the new models
http://pastebin.com/ym6Scrmd
Cheers
--
Hi, maybe you need read documentation about filtering
http://www.django-rest-framework.org/api-guide/filtering
Cheers
On Mon, Sep 8, 2014 at 1:41 PM, Elio Gerson Clímaco Herrera <
elioclim...@gmail.com> wrote:
> Hi, everybody.
>
> I, stared using *REST Framework*
l.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Carlos Aguilar
Consultor Hardware y Software
DWD
http://www.dwdandsolutions.com
http://www.houseofsysadmin.com
Cel: +50378735118
USA: (301) 337-8541
--
You received this message becau
uqm-25HQMeSMhp6Ayk2G2kso17-uYe8Ue%2BKu0Xu%2BJqYQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google
Maybe you try django-ckeditor-updated
https://pypi.python.org/pypi/django-ckeditor-updated
On Wed, Aug 20, 2014 at 9:13 AM, wrote:
> Any suggestions on a wysiwyg editor for Django that will allow:
>
>- browser images and insert image in wysiwyg
>- upload image
Hi, this is for you https://docs.djangoproject.com/en/dev/topics/forms/
Cheers
On Tue, Jul 29, 2014 at 8:52 PM, Dtr Prasad wrote:
> I want write simple forms like file uploading,sesion tracking using python
> modules.
> How can it be done through Django,does not require
Hi maybe you need read the release note Django 1.7 about the new features
https://docs.djangoproject.com/en/dev/releases/1.7/
Cheers :)
On Tue, Jul 29, 2014 at 7:31 PM, Ryan Blunden
wrote:
> Hi everyone,
>
> I'm giving a lightening talk at the San Francisco Django
https://pypi.python.org/pypi/lesscss
Cheers
On Tue, Jul 29, 2014 at 3:27 PM, Chen Xu wrote:
> Hi, Everyone
> I am wondering is there a good django package that can convert less file
> into css file?
>
>
> Thanks
>
>
> --
> ⚡ Chen Xu ⚡
>
> --
> You received this message
If you need real time application i thing you need read about gevent
http://www.gevent.org/
other lecture is socketio and exit third app django
https://github.com/stephenmcd/django-socketio
and here other thing
http://www.pixeldonor.com/2014/jan/10/django-gevent-and-socketio/
Cheers
On Tue, Jul
ir até a pasta com o prompt:(admitindo que salvasse o django no desktop)
cd c:\user\NOMEUSUARIO\desktop\Django-1.6.5\python setup.py install
2014-07-26 19:27 GMT-03:00 Carlos Andre <eucan...@gmail.com>:
> se é no ubuntu, poderia ser sudo apt-get install python-django;
> se é no wi
se é no ubuntu, poderia ser sudo apt-get install python-django;
se é no windows, use o prompt de comando e vá até a pasta do django que
baixasse, em seguida faça pyhon setup.py install
ele instalará o django!
2014-07-26 17:10 GMT-03:00 juantonio v :
> hola tengo el
please! i need run that!
2014-07-22 11:43 GMT-03:00 Carlos Andre <eucan...@gmail.com>:
> I already have a slideshow ready but missing is using the image to be
> added in the admin to pass the slide!
>
>
>
> 2014-07-22 10:50 GMT-03:00 Tom Evans <tevans...@googlema
I already have a slideshow ready but missing is using the image to be added in
the admin to pass the slide!
2014-07-22 10:50 GMT-03:00 Tom Evans <tevans...@googlemail.com>:
> On Tue, Jul 22, 2014 at 10:38 AM, Carlos Andre <eucan...@gmail.com> wrote:
> > Hello guys,
Hello guys, I'm needing to create a slide of images that come from the / media
/ folder, the structure of the slide is ready, missing how to reference
images in the templates here are the codes views.py, models.py and of the
slide in html
https://gist.github.com/eucandre/1be6120bf51a09a5a62a
can
Hi, Subodh right now i find information for multi-tenant project in django
and see
this app, i never used only i read information for the future project.
https://github.com/bernardopires/django-tenant-schemas
maybe help you.
Cheers
On Fri, Jul 18, 2014 at 6:56 PM, Mike Dewhirst
Hello guys, could someone help me with this ...
I am needing to find the link Ext #
http://docs.sencha.com/ext/5.0.0/apidocs/source/Focusable.html-util-Focusable
starting the url http://docs.sencha.com/ext/5.0.0/apidocs/
The problem is that when having to recover the contents of the page with
Olá pessoal, estou tentando usar um slideshow e uso um for para iterar as
imagens que passam vidas de um repositório, problemas que funciona sem o
comando for no template, quando adiciono ele mostra nada para!
Pelo que vejo há problemas no reconhecimento dos comandos de templates,
caso como o que
Hi, me again :) i forgot mention a use the latest release django 1.6.5 and
python 2.7.5
any help or tips?
thank.
On Wed, Jul 9, 2014 at 9:38 PM, carlos <crocha09...@gmail.com> wrote:
> Hi, i have this error when i edit the data, is similar error the next link
>
>
> http:/
Hi, i have this error when i edit the data, is similar error the next link
http://stackoverflow.com/questions/19741314/multivaluedictkeyerror-in-django-admin
but the only different is i use generic relation, this is my models.py
class Photos(models.Model):
name =
Hi, maybe you need use this third party solution
http://django-compressor.readthedocs.org/en/latest/
and other is
https://django-pipeline.readthedocs.org/en/latest/
Cheers
On Mon, Jul 7, 2014 at 5:58 PM, Chen Xu wrote:
> Hi Everyone,
> I am working on a site, under my
Check this tw:
https://twitter.com/iscenigmax/status/485657005567115264
El sábado, 5 de julio de 2014 19:03:56 UTC-5, Henrique Oliveira escribió:
>
> hi there,
>
> I am getting this error when using Mysql connector:
>
> File "/opt/b360/lib/python3.4/site-packages/django/core/handlers/base.py",
maybe read this
https://code.djangoproject.com/wiki/UsingVimWithDjango
or install this plugin
https://github.com/yodiaditya/vim-pydjango
cheers
On Fri, Jun 27, 2014 at 4:04 AM, Christopher Schenk <
christopher.sch...@gmail.com> wrote:
>
>
>
> 2014-06-24 21:50 GMT-03:00 Carlos Andre <eucan...@gmail.com>:
>
>> Olá pessoal, tudo bem com todos?
>> Gostaria de uma solução que permita referenciar fotos para m slideshow
>> com até no máximo 5 fotos que seguirão ordem de inserção! tipo usando um id!
>&
ok i make different configuration
#!/home5/myorg/.virtualenvs/mydjango/bin/python
import sys, os
# Add a custom Python path.
sys.path.insert(0, "/home//projects/")
sys.path.insert(0, "/home//projects/yourproyect")
from flup.server.fcgi import WSGIServer
os.environ['DJANGO_SETTINGS_MODULE'] =
Hi, maybe show the content mysite.fcgi and .htaccess, the error say not
exist your project mysite
maybe the path is not good in mysite.fcgi!
Cheers
On Tue, Jun 24, 2014 at 3:39 PM, Lee wrote:
> Hello,
>
> I setup Django successfully on my shared Bluehost account following
Olá pessoal, tudo bem com todos?
Gostaria de uma solução que permita referenciar fotos para m slideshow com
até no máximo 5 fotos que seguirão ordem de inserção! tipo usando um id!
Obrigado pela atenção de todos!
--
You received this message because you are subscribed to the Google Groups
Using DjangoRestFramework, how can I create api-root with all urls for my
apps
Like this e.g.
I have following apps
core_api
views
models
serializers
urls
equipments
views
models
serializers
urls
companies
views
models
serializers
urls
contacts
views
models
Hi, maybe not all with django, maybe you need learn gevent
http://www.gevent.org/
socket.io
http://socket.io/
and here is example for a chat with redis and django + gevent + socketio
etc.
https://github.com/rlr/django-gevent-socketio-redis-chat-example
Cheers
On Wed, Jun 18, 2014 at 4:46 PM,
Hi or maybe look for odesk.com and similar website for freelancer
On Wed, Jun 18, 2014 at 10:31 AM, Huy T wrote:
> If you want to relocate why not select some target cities.
>
> Otherwise why not search dice.com (job board) and google perhaps.
>
> On Jun 18, 2014, at 11:08
Hi,
Is there a way to have multiple implementations of django's
authentication/authorization system? In my practice blog-type site,
I've implemented django's auth/auth system as is. I'd like to use the
default implementation solely for administrators of the site. For
users of the site, on
Hi, 2 choice
1. erase de database y create again the migration:
$rm database && rm -r addressbook/migrations
$./manage.py schemamigration addressbook --initial
$./manage.py migrate
2. create manually fields owner_id enter terminal or console i see you use
sqlite3
i recomended install this
Hi @NeilWalker maybe you need install 7zip http://www.7-zip.org/ in yours
winbug
Cheers
On Wed, May 28, 2014 at 11:09 AM, Neil Walker wrote:
> Thanks, I couldn't figure out how to get a zip from github :)
>
> Might be a good idea to have a zip version at the website
Hi, when install virtualenv you need create yours enviroments then you need
install all application you need
example:
$virtualenv django14 #create your enviroments
$source django14/bin/activate #activate your enviroments
$pip install django==1.4.5 #install all you need application o third party
for exemple, I have following url:
http://tenant.com:8000/accounts/test1/edit/
when my user right authenticated is test1, but if I change the url to
http://tenant.com:8000/accounts/admin/edit/, the data of user admin is
showing in profile form and if I change and save this form the admin's
Hello, I need to create an app like study case django-cms Dataprotect
(http://www.dataprotectcloud.com/), it need be an SaaS with user accounts,
plans and pricing, multi tenant, etc.
I want to know if Django-CMS and DjangoShop do have these native resources.
Or if you can help me with built
Hi, Digital Ocean have many tutorial
begginner :
https://www.digitalocean.com/community/articles/how-to-deploy-a-local-django-app-to-a-vps
advanced:
https://www.digitalocean.com/community/articles/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn
Cheers
On Fri, May 23, 2014
Hi, you read the documentation?
https://docs.djangoproject.com/en/1.6/ref/models/querysets/
On Fri, May 23, 2014 at 6:36 AM, wrote:
> In Models i declare Novel: name,category
> table structure:
> ---
> id| name |category
>
Hi you read this part of the exempt, if you not need csrf
https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#django.views.decorators.csrf.csrf_exempt
cheers
On Mon, May 12, 2014 at 2:01 PM, Aseem Bansal wrote:
> Hi Sanjay
>
> I think you misunderstood a bit. The JS
Hi,
you could change the QuerySet of the ModelChoiceField. I'd do it in the
forms __init__ method. Like this:
class MessageForm(forms.ModelForm):
def __init__(self,*args,**kwargs):
super(MessageForm,self). __init__(*args,**kwargs)
self.moderator.queryset = User.objects.filter(...*Place your
hi, maybe you filter you queryset
user_list = Model.objects.filter(user__name=user.name
).filter(other__field=user.email)
Cheers
On Thu, Apr 10, 2014 at 9:44 AM, nobody wrote:
> Hi,
>
> How can I filter an item from the queryset object list if the name is
> matching?
Hi all,
What is de best ways for export data?
for example i have 3 apps, but apps 1 and 2 have relation with apps 1
and i want download data in only one file all data
APP1
class Model1(...):
field1 =
field2 = ...
--
APP2
class Model2():
fk =
I'm still not sure of what you need, so there is something (a process)
sending a message through rabbitmq with data that needs to be written to
the DB, now, this needs to be synchronized, sync with what? an http
request? ordered execution of writes?
Regards,
Carlos Ruvalcaba
On Tue, Feb 25, 2014
a lot of useful features (emperor mode, zerg, mules).
I can tell you that I would pick on what I need rather than speed between
those two, they are very close to each other to make a huge difference at
all.
Regards,
Carlos Ruvalcaba
On Mon, Feb 17, 2014 at 11:39 AM, Javier Guerra Giraldez <
Hi maybe use http://south.readthedocs.org/en/latest/ for migrate your
schema!
Cheers
On Fri, Feb 14, 2014 at 10:50 AM, Віталій Лисенко wrote:
> I'm a newbie. I have question:
> How to upgrade the database, if introduced in her structural remove
>
> --
> You received
hi maybe you need configure the setting put path for you locale dirs
LOCALE_PATHS = (
os.path.join(SITE_ROOT,'locale'),
)
https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths
Cheers
On Mon, Feb 10, 2014 at 9:44 PM, whitelotus wrote:
>
> Hi, all,
>
> To
character with byte sequence 0xc6 0x92
in encoding "UTF8" has no equivalent in encoding "LATIN1"
I am trying to load a fixature to use with geodjango.
I appreciate your help with this.
Best Regards
--
Carlos Aguilar
Consultor Hardware y Software
DWD
http://www.dwdandsolutions.c
Hi i remember one time i try use de version apache 2.4.6 with django and
virtualhost but never work correctly
and change apache for nginx i resolved my problem :)
Cheers
On Fri, Jan 17, 2014 at 12:38 PM, Jasvir Singh wrote:
> On Fri, Jan 17, 2014 at 8:53 PM, Sandeep
Hi maybe this link help you
https://www.djangopackages.com/grids/g/websockets/
Cheers
On Thu, Jan 16, 2014 at 8:34 PM, Silviu Dicu wrote:
> Hello,
>
> I'm looking to implement websockets with django.
> Any hints will be appreciated.
>
> thanks!
>
> -silviu
>
> --
> You
Hi maybe help you this link http://askbot.org/en/questions/ ask your
question theres!
Cheers
On Thu, Jan 16, 2014 at 9:44 AM, django-newb wrote:
> I am working on a project where I used a open source framework. Here is
> the link for the opensource framework:
>
I thing YES, but you first need sure complete understand django 1.6.1 and
replace pieces of code when get error in you application. other thing is
you need read all releases notes all version of django:
1.2
1.3
1.4
1.5
1.6
and you discover what is new, what is deprecated and what is removed!
in
actually yes bluehost support django read this
http://blog.ruedaminute.com/2011/01/2011-installation-instructions-for-django-on-bluehost/
maybe help you!!
Cheers
On Fri, Jan 10, 2014 at 9:08 AM, Vijaya Reddy wrote:
> Thanks Tim for quick reply.
>
> I learned django
change this
url(r'^polls/', include('polls.urls')'),
for this
url(r'^', include('polls.urls')'),
On Fri, Jan 10, 2014 at 2:40 AM, AJ NOURI wrote:
> I have Python 2.7.3
>
> I am new in django and I am following the tutorial 3 at :
>
Hi you not need the 3 flies you only need create the proyect and them 1 app
this app is the data
you need create the views inside one function similar data.php but in
python use impor json and them
create de index.html similar de index.php so
you replace this
connect.php == settings.py
data.php
Hi you check this link
https://devcenter.heroku.com/articles/getting-started-with-django
maybe help you !!
Cheers
On Tue, Jan 7, 2014 at 1:17 PM, ET wrote:
> Hi,
>
> I am currently attempting to deploy a basic Django app to Heroku. Ideally,
> I would like to use a
b-env)[cquiros@rmg formhub]$ python manage.py dumpdata sites
Your environment is:"formhub.preset.default_settings"
[{"pk": 1, "model": "sites.site", "fields": {"domain":
"http://data.ilri.org/formhub/;, "name": "Formhub
]))
ValueError: zero length field name in** format*
Any idea what is wrong? I am also running the same application in another
server but with Python 2.7.5 and it works ok.
Note: DJANGO_SETTINGS_MODULE is an environmental variable in both systems
Thanks,
Carlos
--
You received this
hello guys, i have a problem in django 1.5!
I did a migration from version 1.3 to this and when I migrated
projects that have
worked in version 1.3 there was no recognition of the media in version 1.5!
I made the steps of the tutorial, but the problem still insists! have something
new to be
Hi manually use alter table
http://dev.mysql.com/doc/refman/5.0/es/alter-table.html
or
http://www.postgresql.org/docs/9.1/static/sql-altertable.html
Cheers
On Sat, Dec 14, 2013 at 4:11 AM, Abhishek ranjan <
abhishek.ranjan0...@gmail.com> wrote:
> Any new concept to update the table other than
are executed locally.
Regards,
Carlos Ruvalcaba
On Fri, Nov 29, 2013 at 11:52 AM, Robin Lery <robinl...@gmail.com> wrote:
> This may be a lame question, but I am really confused with these two. I
> know *signals* are used to do some task when something has happened. But
> wh
I am using django 1.5 with pytz. Currently all the datetimes stored in the
database are in UTC. The frontend application is timezone aware (users
worldwide), that means that I store the user timezone in his profile.
Administration is using the default timezone as in settings.py (UTC).
What
try https://github.com/omab/python-social-auth
Cheers,
On Fri, Nov 22, 2013 at 5:00 PM, coded kid wrote:
> Use django_social_auth by Arneb. It rocks!
>
>
> On Friday, 22 November 2013 06:02:30 UTC+1, sk wrote:
>>
>> I have seen few posts on various Facebook libraries
Note: one other thing is that the legacy DB we're using has a character
varying (PostGres) type as its primary key, even though it's really just an
integer that should probably be auto incrementing serial type. We're not
adding anything new to this DB so the auto behavior isn't a big deal. It
So, first thing: I come from a C++ background and I've been building my
first site with Django. As I normally try to do in C++, I don't want to
store any more information than I have to since that can lead to big
problems with data consistency. In C++, I do this with private members /
Hi maybe you need use supervisord
http://supervisord.org/
Cheers
On Tue, Oct 15, 2013 at 3:12 AM, Muhammed TÜFEKYAPAN
wrote:
> Hello everyone,
>
> Yes I know that but now my problem is our new project doesn't seen on
> services list and so I can't start it.
>
> I use
Hi you need read this
http://wiki.nginx.org/ServerBlockExample
http://wiki.nginx.org/DjangoFastCGI
Cheers
On Mon, Oct 14, 2013 at 11:17 AM, Muhammed TÜFEKYAPAN wrote:
> Hello everybody,
>
>
> I use digitalocean as a server. I upload my django project files on my
>
Hi, uwsgi is too good option http://uwsgi-docs.readthedocs.org/en/latest/ and
nginx with virtualenv
On Mon, Sep 30, 2013 at 11:45 AM, Peter Herndon wrote:
> I would suggest using separate virtual environments, each with gunicorn (
> http://gunicorn.org/) installed into the
Hello,
I have a django project running on digitalocean (in a 512M server) and
suddenly it appears Error 500 on the Apache.
I'm running wsgi and only 2 users (because we are starting)
Looking on the logs, the errors were the following:
1. ImproperlyConfigured: Error importing middleware
Hi, try in the views: print request.POST['id'] for see de value
cheers,
On Thu, Sep 19, 2013 at 7:25 AM, Hélio Miranda wrote:
> Good.
> I have my client application server, and was trying to send an id
> parameter via a post like this:
> $scope.deleteIMG = function(ID){
>
Olá pessoal, tudo bom?
Eu gostaria de uma ajuda de como fazer upload de músicas no banco de dados,
como faço upload de arquivo. Gostaria de exemplos.
Hello guys, how are you?
I would like some help on how to upload songs in the database, how do I
upload file. I would like examples.
--
You
at 12:26 AM, Robin Lery <robinl...@gmail.com> wrote:
> Yes, same here. That's why I was asking, whether there's a way to call the
> resize image in the view.
>
>
> On Wed, Sep 11, 2013 at 11:55 AM, Karl Arunachal <
> kakararunachalserv...@gmail.com> wrote:
>
&g
Hi you try use http://sorl-thumbnail.readthedocs.org/en/latest/
is good
Cheers
On Tue, Sep 10, 2013 at 10:53 PM, Robin Lery wrote:
> Hello,
> I have been trying to achieve thumbnail for the uploaded images, but it
> just don't seem to resize the image on the apache server
Hi
try this ./manage.py convert_to_south myapp # if your app exist
try read the doc
http://south.readthedocs.org/en/latest/convertinganapp.html#converting-an-app
Cheer,
On Sun, Sep 8, 2013 at 11:29 PM, Xavier Ordoquy wrote:
> Hi,
>
> The message is: "Table 'tcc_report'
https://docs.djangoproject.com/en/1.5/intro/tutorial01/
Cheers
On Tue, Aug 20, 2013 at 9:57 AM, JAI PRAKASH SINGH <
jaiprakashsingh...@gmail.com> wrote:
> Any Tutorials on Django similar to Web2py
>
> --
> You received this message because you are subscribed to the Google
Hi
maybe you need find in google.com for example
http://fromzerotocodehero.blogspot.com/2011/01/django-ajax-tutorial-part-1.html
I think there are more tutorials
Cheers,
On Thu, Aug 15, 2013 at 6:09 AM, Scheck Nyori wrote:
> Hello!
> I am a noob in web development.
Hi if you need create app for real time try this app can help you
https://github.com/stephenmcd/django-socketio
or find other app https://www.djangopackages.com/grids/g/websockets/
Cheers
On Thu, Aug 1, 2013 at 10:59 AM, wrote:
> Hi,
>
> Flot is your friend.
On Wed, Jul 31, 2013 at 2:01 AM, Jani Tiainen <rede...@gmail.com> wrote:
> On Tue, 30 Jul 2013 16:39:27 -0300
> Carlos Leite <cadu...@gmail.com> wrote:
>
>> Django do not have a "per-row" permission system in the box.
>> You will have to create that
Django do not have a "per-row" permission system in the box.
You will have to create that by yourself.
You may start adding something like "owner" to your content type.
this field will be somthing like
owner = models.ForeignKey(User)
then, based on "request.user" in your views (for instance),
where is the error ??
On Mon, Jul 15, 2013 at 5:11 PM, maiquel wrote:
> How to set up django on Apache
>
> I'm using django 1.4
> and apache 2.4
> and Python 2.7
> My configuration is well
>
> in httpd.conf
>
> WSGIScriptAlias / C :/ xampp / htdocs / My_blog /
Hi ben you are try with this app http://disqus.com/ or you can use comment
contrib app read this tutorial http://lightbird.net/dbe/blog.html#comments
Cheers
On Mon, Jul 15, 2013 at 2:52 PM, Ben Spatafora wrote:
> Okay, I'm pretty new to django (and coding in
try this with django 1.5.1
from django.shortcuts import render
def register_page(request):
if request.method == 'POST':
form = RegistrationForm(request.POST)
if form.is_valid():
form.save()
return HttpResponseRedirect('/register/success/')
else:
Hi the other library js for graphis is http://www.flotcharts.org/
On Wed, Jul 10, 2013 at 9:17 AM, pa xapy wrote:
> why you do this with django?
> there so many js libraries
> i think that for the web purposes its best solution than generate graphics
> with python.
>
try this
https://docs.djangoproject.com/en/dev/ref/settings/#decimal-separator
Cheers
On Thu, Jun 27, 2013 at 7:32 PM, Stryder Crown wrote:
> Any body know why django would format an integer as a comma seperated
> value? i.e. 1578 becomes 1,578?
> No, I'm not using
Hi maybe help you try this snippets http://djangosnippets.org/snippets/1758/
Cheers
On Tue, Jun 25, 2013 at 6:21 AM, Jesús Lucas Flores wrote:
> Hi i am looking for a thirth package for a usual funcinality : I want
> filter for multiple values with list_filter for django
for example
class ModelA(models.Model):
field1 = charfield ()
field2 = charfield ()
field3 = charfield ()
def create_itemmodel (sender, instance, created, ** kwargs):
print "here my class", instance
class ItemModel(ModelA):
class Meta:
proxy = True
Hi
is possible to store a value of a field in a proxy model
I explain how models are
class Model1(models.Model):
title = models.Charfield(blabla)
class Model2(models.Model):
name = models.CharField(blabla)
fk_field = models.FK(Model1)
and then important thing
class
201 - 300 of 564 matches
Mail list logo