Would it not be possible to create a base model and model manager that
specifies a client, and override the default django.db.models.Model
and django.db.models.Manager classes? Something like this:
class Client(models.Model):
client_name = models.CharField(max_length=64)
# etc...
class
, self).save()
class Meta:
abstract = True
On Oct 13, 5:49 pm, Daniel <[EMAIL PROTECTED]> wrote:
> Would it not be possible to create a base model and model manager that
> specifies a client, and override the default django.db.models.Model
> and django.db.models.Manager cl
Hi! I'm a switcher from Rails and I'm learning Django. I'm stuck with
something I thing should be easy but for some reason I can't find the
error.
I'm trying to define a model to manage shifts for volunteers. I have
three diferent models, Shifts, Users and Swaps. A User have many
Shifts and a
ap_user')
>
> HTH
>
> Keith
>
> On Aug 27, 11:42 am, "Daniel A." <[EMAIL PROTECTED]> wrote:
>
> > Hi! I'm a switcher from Rails and I'm learning Django. I'm stuck with
> > something I thing should be easy but for some reason I can't find the
> > e
I'm a Rails switcher to Django. In Rails there's an option to generate
all the scaffold files, ie, there's a command line script that creates
all the files in the project folder of the admin interface. I want to
know if there's something similar for Django. Thanks
n mix the encryption/decryption of values
using these two applications?
Or is it possible for django to use MySQL functions such as
AES_ENCRYPT/AES_DECRYPT in a query?
Thanks
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
Using the newforms-admin branch, you there are queryset hooks to aid
in this. Not tested, but you should be able to do something like this
in your model's admin class:
class SomethingModelAdmin(admin.ModelAdmin):
def queryset_change(self, request):
return super(SomethingModelAdmin,
Hello,
As I understand it the model field paramater "validator_list" is now
being phased out with newforms. I'm using newforms-admin, and am in
need of a similar way of doing validation. Are there any hooks or
even hacks available that could achieve this?
I understand the preferred method is
> Not sure about trunk but in newforms-admin at least you can just
> subclass your model field and overwrite formfield() to get the admin
> to use another form field. That way you can declare a custom form
> field (or just a standard one like RegexField) to tweak your
> validation for the forms
Hi Elena, I actually had the exact same problem Francesco was having. I
wasn't able to start a project, and then I tried your question. The cmd
line went something like this:
(env) path/to/directory/python env/Scripts/django-admin.py startproject
newproject
It worked! While I'm happy with
for the admin file, I guess it's not really
that big of a deal, since I won't be making many projects in the near
future, I just thought there might be a quick fix available. Thanks for
the input!
Dan
On Thursday, November 8, 2012 4:22:35 AM UTC-6, elena wrote:
>
> Francesco and
Hello i am progressing well on the tutorial here:
https://docs.djangoproject.com/en/1.3/intro/tutorial02/
however, I am stuck on Make the poll app modifiable in the admin.
I have created an admin.py file within my polls directory. with the
suggested code. However I keep getting this error
an you
please explain
thanks,
daniel
On Oct 17, 9:53 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Mon, Oct 17, 2011 at 7:05 AM, Daniel <dgam...@gmail.com> wrote:
> > Hello i am progressing well on the tutorial here:
> >https://docs.djangoproject.com/en/1.3/intro/tu
i have a fairly complex database configuration and think i've found a
bug. i have a master/slave "default" database with an appropriate
router and then 2 other data databases which also have their own
django router. everything works fine on production, but when trying to
run unit tests if fails
Hi,
I'm working on a Django website made by someone else and I'm trying to
change how the navigation on the left looks.
Currently it shows links to pages on the current level and any child
pages, but we're looking to have it more traditional where it shows
parent and child pages (to a certain
presentation of the
geometry") like so:
querySet.geojson(precision=16)
but it doesn't make any difference. Anyone got an idea?
Daniel
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
ents the __or__ special method.
>
> On 7 Apr, 19:56, Daniel <unagimiy...@gmail.com> wrote:
>
> > Thanks alot guys. If I can be honest, I'm having a little trouble
> > digesting just this one line:
>
> > q = q | f if q else f
>
> > That line of code only a
Hi there,
I have a request.session['querySoFar'] variable that I'm appending a Q
object to with each POST in order to build up a final query to run.
However, this session var is getting cleared out sometimes. I have no
idea why this is happening. I do not believe that I am resetting like
so:
Hi guys,
I am confused as to why the intersection of my two querysets keeps
returning the empty set.
I have two querysets, let's call them query1 and query2.
query1 | query2 "adds" them, i.e., union just fine. That works great.
query1 & query2 leaves no results, no matter the test case.
Hi guys,
I am having trouble getting multiple LIKE statements to work using
cursor.execute(SQL, [params]).
Here is my raw SQL query which I have confirmed is working directly at
the mysql command line:
"SELECT samples.number from samples WHERE samples.description LIKE
samples.description LIKE
object has
already been translated without interfering in the translation
process?
Thanks,
Daniel
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from th
Hi there,
I'm reading the django book and they say that you can validate a form
like this in one line, checking for missing keys and missing data:
if not request.POST.get('subject', ' ')
errors.append('enter a subject')
I'm not sure how to read that line of code, though. Can someone
Hi,
Are these statements equivalent? I want to say no, but I can't see
why.
Thank you
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send
fault parameter that returns it's value if the key doesn't
> exist.
>
> If you use the indexing method, i.e. [], it invokes the dictionaries
> __getitem__ method, which can throw a KeyError exception if the key
> doesn't exist.
>
> --Sent from my iPhone
>
> On Mar 23, 2010,
Hi all,
I'd appreciate it if you could help me out with something.
I am trying to build a way to use faceted browsing through a database
of biological samples.
what I want to model is this:
Sample 1
race = white
age = adult
gene = XCFR2
disease = cancer
Sample 2
race =
Hi there,
I'm in a template that is trying to simply show everything in my
database. But I can't seem to do it even though this should be dead
simple :<.
Here is my view, called browse_all:
def browse_all(request):
resultSet = Sample.objects.all();
print resultSet
']
Thanks so much!
On Mar 28, 7:52 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Mar 28, 2:28 am, Daniel <unagimiy...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> > I'd appreciate it if you could help me out with something.
>
> > I am tryin
Hi guys,
I'd appreciate a little advice on the following:
I'm trying to get a unicode string representation of my model named
Sample. But that Sample model has a many to many relationship with
another model, Facet.
So Sample's unicode method:
def __unicode__(self):
dmin to do something which I'm thinking
should be a very common thing.
Thanks!
On Mar 31, 3:40 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Mar 31, 8:26 pm, Daniel <unagimiy...@gmail.com> wrote:
>
>
>
> > Hi guys,
>
> > I'd appreciate a little advice
Hi,
I'm basically trying to implement a series of chained select boxes,
i.e. If you select a vehicle = car, then it'll popup another select
box of brands. Select Honda and then it'll pop up another select box
of prices, for example.
The thing is, these select boxes should be populated
Hi,
I'm essentially trying to pass data from form to form, building up a
query string based on a series of user selections.
In PHP I could do this with superglobals, but how is this done in
Django? I imagine I'd want a global list or dictionary that I would
keep appending to. Are context
gt; and it's enough.
>
> Thierry
>
> Le 2 avr. 2010 à 07:22, Daniel <unagimiy...@gmail.com> a écrit :
>
> > Hi,
>
> > I'm basically trying to implement a series of chained select boxes,
> > i.e. If you select a vehicle = car, then it'll popup another select
Hi, I think that this must be super easy, but I'm kind of stumped.
I have a list qObjects = [qObject1, qObject2, qObject3]
What I'd like is to form this query: Sample.objects.filter(qObject1,
qObject2, qObject3)
How would I accomplish what I need? Thanks!
--
You received this message because
.
>
> Try this:
>
> Sample.objects.filter(*qObjects)
>
> __
> Vinícius Mendes
> Solucione Sistemashttp://solucione.info/
>
> On Tue, Apr 6, 2010 at 2:54 AM, Aaron <byco...@gmail.com> wrote:
> > Sample.objects.filter(*qObjects)
>
> > On Apr 6,
, Vinicius Mendes <vbmen...@gmail.com> wrote:
> On Wed, Apr 7, 2010 at 2:00 PM, Tom Evans <tevans...@googlemail.com> wrote:
> > On Wed, Apr 7, 2010 at 5:39 PM, Daniel <unagimiy...@gmail.com> wrote:
> > > Hi,
>
> > > Thank you for your help everyone
As has been mentioned, they all use a RequestContext to begin with,
but if you need additional custom variables to be exposed to your
template, then you can pass them as a dict for the extra_context
variable.
On Jul 19, 5:08 am, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> How does
was not really what I liked, it told me my version of the
python-setuptools is to old, it needed version c1, but Dapper only has
a9 included.
Is there any chance to get Django installed?
With kind regards,
Daniel
--
blog - http://people.best-off.org/~dsr/
gpg - http://people.best-off.org/~dsr/gpg.asc
Hello list,
Newbie question: I wonder how I can filter or search lists by foreign
keys. Assuming a 0.91 model like:
class Country( meta.Model):
name = meta.CharField( _("Name"), maxlength=255)
class City( meta.Model):
name = meta.CharField( _("Name"), maxlength=255)
FOLLOW https://twitter.com/VMozghovyi
--
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
GO RETWEET https://twitter.com/VMozghovyi/status/823610114565427201
--
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.
or a list.
Any hints would be greatly appreciated!
TIA,
Daniel
--~--~-~--~~~---~--~~
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
On Dec 28, 5:35 am, tsop wrote:
> Hey,
> I'm quite new to django but I ran into a small problem maybe someone
> can shed some light onto:
>
> models.py
>
> class Comic(models.Model):
> title = models.CharField(max_length=80, help_text='Title of
> comic.')
>
On Dec 27, 6:20 am, Vicky wrote:
> Is there a way to access the previous value of a for loop in
> templates. Can anyone tell the template representation for the python
> code like:
>
> for i,j in enumerate(item):
> ...
I
On Dec 29, 10:58 am, Bobby Roberts wrote:
> On Dec 29, 10:48 am, Briel wrote:
>
> > A solution, not sure if it's the best, would be to make a function in
> > basicly any file, that generates a quote. Then you can import the
> > function to every view you
On Dec 29, 9:02 pm, garagefan wrote:
> below is the code... the first def doesn't return anything... (def
> get_gal_teaser(self))
> i'm using a custom tag to return the Gallery class to the base
> template file, which works... so calling the method get_gal_teaser
> works
On Dec 29, 11:04 pm, garagefan wrote:
> awesome... it was all in that [:1]!
>
> now, next issue...
>
> "OperationalError at /admin/galleries/gallery/
> (1054, "Unknown column 'galleries_gallery.status' in 'field list'")"
>
> i just added the status field as i wasn't
On Dec 30, 8:22 pm, ldm999 wrote:
> Eg:
> Lists (books, movies, restaurants) and multiple items per list.
>
> Web forms would allow user to:
> - Add/change/delete lists
> - Add/change/delete list items
>
> TIA
Have you actually read the tutorial on the Django site? The
On Dec 30, 7:15 am, janedenone wrote:
> Hi,
>
> this must be really simple, but all the references to ordering fields
> did not explain how to do this: How can I change the order of entries
> in foreign key lists in the admin change view?
>
> Kind regards,
> Jan
On Dec 31, 11:13 am, phoebebright wrote:
> I have a model that has a car and a car has a foreign key to carmodel
> via the field model (too many models!)
>
> This is the line for the form which appears to run:
>
>
On Dec 30, 11:40 pm, schwim wrote:
> I'm trying to build a model that will store the counts of each of 10
> possible choices, e.g.:
>
> v1 = models.IntegerField(default=0)
> v2 = models.IntegerField(default=0)
> v3 = models.IntegerField(default=0)
> ...
>
On Dec 31, 12:18 am, Chuck22 wrote:
> class ContactForm(forms.Form):
> email = forms.EmailField(required=True,
> widget=forms.TextInput(attrs=
> {'size':'30'}),
> error_messages={'required':'Please fill
> out
On Dec 31, 12:31 pm, "dick...@gmail.com" wrote:
> was looking for some info on how ROOT_URLCONF setting is supposed to
> be used? i am trying something very simple. i have a single django
> project. there are two apps.
>
> i want to run one app, call it foo, with a specific
On Dec 31 2008, 11:58 pm, gkelly wrote:
> I am having the following error sent to my email from a live site. I
> haven't been able to reproduce the error myself, but was hoping
> someone could point me in the right direction as to how to solve this.
>
> First of all, is it
On Jan 4, 10:18 am, Niall Mccormack
wrote:
> Hi there,
>
> I'm trying to override the edit_inline_stacked template so I can
> dynamically add in extra inline data via javascript - similar
>
On Jan 4, 2:35 pm, Berco Beute wrote:
> I'm still searching for a solution for this problem.
> Which other forums should I try?
>
> Thanks,
> 2B
>
This is the right forum, but apparently no-one knows the answer to
your question.
Personally, I can't see how that redirect could
On Jan 4, 9:33 pm, Mark Jones wrote:
> You need a process running outside the bounds of the webserver that
> reads the database every so often, and then sleeps with a wakeup every
> so often, and a list of when things "expire". It updates the
> database, the webpage reflects
On Jan 4, 8:30 pm, Patrick wrote:
> Ok, I will rephrase that with a concrete example:
> I have those to models:
>
> class Modelo(models.Model):
> nome = models.CharField(max_length=10)
> manageable = models.BooleanField()
>
> class Equipamento(models.Model):
>
On Jan 4, 9:29 pm, Mark Jones wrote:
> For the discussion below, ALL the code is in .../intomec/tenq
>
> I wrote some code in tests.py like so:
>
> from tenq.models import *
> self.expectedValue = Answers((1,2,3,4))
>
> within the to_python() method of AnswersField
On Jan 4, 11:24 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Sun, 2009-01-04 at 20:14 -0800, Daniel Roseman wrote:
>
> [...]
>
> > I don't know why you say filtering Equipamento based on the value in
> > Model 'seems to be not possible'. On
On Jan 5, 5:39 pm, "django_fo...@codechimp.net"
wrote:
> I have a pretty simple template that needs to print some data in a
> bunch of table rows. I have done something like this:
>
>
> {% if my_art_list %}
> {% count = 0 %}
> {% for art in my_art_list %}
>
On Jan 6, 12:20 pm, Max wrote:
> Hello,
>
> Using the tutorial for detail.view, I changed the radio button to a
> drop down. I kept the view the same as the tutorial.
> Seehttp://dpaste.com/106018/
>
> When I select the choice on the drop down, I receive the error saying
>
On Jan 6, 2:59 pm, rabbi wrote:
> Hi everyone,
> I've gone through the Django tutorial and it worked fine when using
> the default development server that is provided with Django (python
> manage.py runserver)
>
> I want to deploy my little test site though, so I've been
On Jan 7, 7:47 am, jeffhg58 wrote:
> I have a 2 forms. One to add a new author and then another form for
> Articles which has a drop down list to reference the authors. The
> behavior I am seeing is that when I add a new author and then go to
> the New Article form which
On Jan 7, 10:35 am, EagerToUnderstand wrote:
> I am referencing a self defined model method in list_display option of
> ModelAdmin. I would like to do the same in the fiedsets option of
> ModelAdmin, but I get an error saying my method is missing from the
> form when the page
On Jan 12, 6:35 pm, jazztpt wrote:
> I'm building my first django app and having a few problems in my dev
> environment. I have a couple of images that I want to use in my
> base.html template. I have tried various configurations, but none of
> my images show up. I've
On Jan 12, 5:38 pm, Matias Surdi wrote:
> Hi,
>
> I've two models related by a ForeignKey field.
>
> I'd like to have the possibility of adding child objects (side "One" of
> the relation) from the admin interface of the parent ("Many" side of the
> relation).
>
> Example:
On Jan 12, 8:59 pm, jazztpt wrote:
> Nope, that's not the problem. I had read that page, and another that
> suggested a slightly different syntax for the urlpatterns
> (fromhttp://rob.cogit8.org/blog). Sorry that I forgot to mention that I
> had already put Rob's
On Jan 13, 8:26 am, Matias Surdi wrote:
> hmm... Not really... from your point of view, think about this: I want
> to edit the children from the parent admin view, and *not* assign
> parents to children from children's admin view
>
> Do you see? the relation is the
On Jan 13, 2:53 am, Adam Tucker wrote:
> I am working on a site where a page is loaded which replaces part of itself
> with another view using a simple ajax replacement (the load funciton in
> jQuery.) The view that is called iterates a loop anywhere from 3 to 10 times
>
Is anyone hosting a Django site on MediaTemple's GridService without
using the Django container? If so, e-mail me off list.
Daniel Lathrop
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
On Jan 13, 9:40 pm, Manfred wrote:
> Hello,
>
> I wrote a special kind of blog- or news application. One of the
> specialities of this application is, that authors are able to make
> entries visible/invisible by a date range or by a simple switch to
> hide the entry.
On Jan 15, 5:35 pm, Peter Bailey wrote:
> I have just recently started using forms. I was avoiding them because
> I thought they were not very DRY, but discovered I need them for added
> flexibility such as displaying field lengths for example.
>
> Anyway, I have created a
On Jan 16, 12:45 pm, Gath wrote:
> Guys,
>
> I might be lazy or am blind! but the following code is returning ZERO!
> items, while very well i know there is some items in the list,
>
> View:
> def post_answer(request, quest_id=None):
> answer_list = Answer.objects.filter
On Jan 16, 7:03 pm, Ty wrote:
> Follow-up question:
> I have a project that was created using the 1.0.2 version. Is it a
> good idea to basically recreate the project and apps using the newest
> version of the django-admin.py file, and then migrate the code over?
> I'm
On Jan 17, 3:35 pm, cptnwinky wrote:
> Thanks once again Karen. Could you throw me a bone though and explain
> how I extract the instance? I'm rather new to python and django; I
> come from a PHP background so I'm used to results from a db being
> rather straightforward.
>
>
On Jan 17, 6:44 pm, Jon Prater wrote:
> Hi, all.
> For various reasons, I prefer to use python 2.6 on my computer. Since
> mod_python and mod_wsgi won't work on Python 2.6, I have to use FCGI
> or switch to Python 2.5. I have flup installed without any problems.
>
On Jan 17, 5:59 pm, Atishay wrote:
> On Jan 16, 10:06 pm, "alex.gay...@gmail.com"
> wrote:
> > What version of Django are you using?
>
> 0.96 version
>
> if it does not have formset then how can we do something like formset
> without defining
On Jan 18, 12:43 pm, Darthmahon wrote:
> Hey Guys,
>
> I've got a model like this:
>
> event = models.ForeignKey(Event)
> user = models.ForeignKey(UserProfile)
> user_2 = models.ForeignKey(UserProfile, related_name='user_2')
>
> I then get a list of all the
On Jan 20, 12:56 pm, "shogunm...@googlemail.com"
wrote:
> Hi Thomas,
>
> Thanks for your quick reply!
>
> I had a look at the docs, but it seems I have to enter the initial
> values at the Form definition level. However, I am interested in
> entering dynamic data
Hi django-pros,
I'm nearly finishing my django web-app and I've got some questions:
1. I'm using pagination: from django.core.paginator import Paginator,
and then handling it all by myself, I do not want to use any other
modules or snipetts or so on. I'm using it to paginate the result of a
On 22 ene, 16:17, Thomas Guettler <h...@tbz-pariv.de> wrote:
> Tim Daniel schrieb:> I read something that it would be more
> > efficient to store only the query and doing pickle?? I don't know how
> > to do that, I've been looking in the docs and other posts but no c
On Jan 24, 2:43 pm, John Baker wrote:
> > write a custom file
> > storagehttp://docs.djangoproject.com/en/dev/topics/files/
>
> Thanks. However, I know I can store them somewhere else but my problem
> is serving them up again in the local development environment. The
>
On Jan 24, 12:49 pm, Kless wrote:
> I want to add a new field --slug-- to tables where any data is being
> used in the URL
>
> I dumped all data, added that new field
> --
> slug = models.SlugField(_('slug'))
> --
>
> And I created a hook to save it.
>
On Jan 24, 3:28 pm, nosrednak...@gmail.com wrote:
> Hello Django Users,
>
> I am writing an application that needs to do some 'advanced' SQL to update
> some tables. I am curious about the best way to lock tables and make the
> transaction safe. The solution I wrote for a Quick and dirty is:
On Jan 25, 7:51 pm, issya wrote:
> I am making a modelform that looks like the below.
>
> class ContactForm(forms.ModelForm):
> name = forms.CharField(widget=forms.TextInput(attrs=
> {'class':'required'}))
> phone =
On Jan 25, 9:54 pm, "ben.bleik...@gmail.com"
wrote:
> I am having an issue with Django 1.0.2 returning a list of blog posts
> in my generic date based archive_index view.
>
> My URLs file looks like this:
>
> #Dictionaries
> blog_dict = {
> 'queryset':
On Jan 26, 5:22 am, "Eric I.E." wrote:
> When I add TinyMCE to my form fields it turns them from optional
> (blank=True, null=True) into required fields.
> I am using django-tinymce in conjunction with django-filebrowser.
>
> My field is defined in models.py like this:
>
On Jan 26, 2:42 pm, Erik Bernoth wrote:
> Hi guys,
>
> We want to experiment with some of the django development processes in
> our projects, too. So I tried to create .diff-files and merge them
> into another repository to keep my working trunk clean from patches
> and new
On Jan 26, 1:55 pm, Rama wrote:
> i have a standalone python script which uses a django module. i need to
> schedule that script using crontab.
> while doing this i encountered the following problem
>
> 1) the above standalone python script which uses django module is
On Jan 26, 3:16 pm, PeteDK wrote:
> Hi there :)
>
> first the code:
>
> forms:
> class ProfileForm(forms.Form):
> ...
> image = forms.ImageField(required = False)
>
> models:
> class Profile(models.Model):
> user = models.ForeignKey(User,
On Jan 26, 6:22 pm, "alant...@neei.uevora.pt"
wrote:
> Hello,
>
> I have different models spread in some apps that are all related. Is
> it possible do put them in the same section in admin?
>
> example:
> coach: coach, coach_data, coach_things, coach_xxx
> player: player,
On Jan 26, 8:08 pm, Oleg Oltar wrote:
> Hi.
> I want to use django admin, for adding articles into my db. My language is
> Russian.
>
> I defined model in the following way:
>
> from django.db import models
> from tinymce import models as tinymce_models
>
> class
Thanks for making this clear!
But do you think/know that this is the best way to do it? I haven't
done it these way until now because in most cases it causes large and
ugly urls(I only had to show the page number). Is the way I'm doing it
till now a maybe ineficiente and thus not recommended way?
On Jan 27, 10:54 am, Mirat Can Bayrak
wrote:
> I am drown in documentation. I want to do simple thing. There is a
> ShortDescription model in my app, which has string =
> models.CharField(max_length=300), but i want to show it as in my
> admin panel.
>
> I tried
Thanks for the answer, I was already getting worried about my
'session' way. No caching for know although it doesn't seem difficult
to implement. And yes the way you do it would have that advantage, but
mine has beautiful urls!! ^^
thanks again,
Tim DG
On Jan 27, 9:11 pm, "Rodrigo C." wrote:
> I have model that represents a file, and has a FileField, that I am
> rendering via an Inline Formset. When a user fills in the form it gets
> saved with no problems.
> However, I want the users to be able to continue editing the
On Jan 29, 7:02 am, vierda wrote:
> dear all,
> I have problem when using delete_object generic views, the code always
> raise error delete_object() takes at least 3 non-keyword arguments (0
> given) but I think I have provided 4 arguments. my code as per below.
> Thank you for
On Jan 29, 9:07 am, arbi wrote:
> Hi,
>
> I am a newb in Django and I find it very nice... But the current
> problem is that, when I try to synchronize my models (using python
> manage.py syncdb), an attribute that I changed did not change in my
> database. For instance :
>
On Jan 29, 12:00 pm, JonUK wrote:
> I'm creating a new admin UI for User, separate to the standard admin
> User interface - I have the following setup:
>
> class WebsiteUser( User ):
> class Meta:
> db_table = 'auth_user'
>
> class WebsiteUserAdmin(
On Jan 30, 1:11 pm, Konstantin S wrote:
> Hello!
>
> I believe this is a VERY basic question, that already covered
> somewhere in the excellent django docs, but I couldn't find an answer
> and therefor asking for some help.
> In my view I have this request
1 - 100 of 3445 matches
Mail list logo